4 years ago (2015-11-20)  computer technology |   First to comment  26 
post score 0 times, average 0.0

 

  • (1) Run as command: DOS>scanHost start_ip end_ip
  • (2) Output: Active host IP address.

Implementation principle:

  • (1) An ICMP_ECHO request message is sent through an IP address, and an ICMP_response message is received, indicating that the IP host is active.
  • (2) Using raw sockets
  • (3) In order to improve the detection time, multi-thread technology is used.

  C++ active host scan

 

  
 

This article has been printed on copyright and is protected by copyright laws. It must not be reproduced without permission.If you need to reprint, please contact the author or visit the copyright to obtain the authorization. If you feel that this article is useful to you, you can click the "Sponsoring Author" below to call the author!

Reprinted Note Source: Baiyuan's Blog>>https://wangbaiyuan.cn/en/c-activity-host-scans-2.html

Post comment

Style

No Comment

登录

Forget password?

您也可以使用第三方帐号快捷登录

切换登录

注册

TW