登录
首页 » Scanner » This procedure using Borland C++ Compile, process the key code is

This procedure using Borland C++ Compile, process the key code is

于 2022-01-23 发布 文件大小:3.58 kB
0 105
下载积分: 2 下载次数: 1

代码说明:

这个程序使用Borland C++编译,程序中关键代码是“my_addr.sin_port = htons(i)”,因为变量i是一个循环量,它从一开始到使用者设定值结束,而htons(i)则是对连接远程服务器需要使用的端口进行定义,之后使 用connect()函数连接指定端口,通过返回值判断这个端口是否打开,这样一个端口扫描的思路就出现了。 -This procedure using Borland C++ Compile, process the key code is

下载说明:请别用迅雷下载,失败请重下,重下不扣分!

发表评论

0 个回复

  • 696518资源总数
  • 105549会员总数
  • 12今日下载