端口扫描检测_端口扫描实验报告

端口扫描检测_端口扫描实验报告

C++ TCP端口扫描

差不多就是这样的吧

#include stdio.h

#include winsock.h

#pragma comment(lib,"wsock32.lib")

int main(int argc, char **argv)

{

SOCKET sd_client;

u_short iPortStart, iPortEnd, port;

235 0 2023-01-23 端口扫描