简易端口扫描器 void usage(void) { printf("\tusage: tcpscan RemoteIP StartPort-EndPort\n"); printf("\tExample: tcpscan 192.168.1.1 80-100\n"); }