5 years ago (2015-11-19)  computer technology |   First to comment  152 
post score 0 times, average 0.0

C + + scan specified host open port, OS provides a connect () system call, used to establish a connection with a remote host port, if the port is in the frame listening state of the remote host, connect () connection is successful; otherwise, the port is closed.   C++ scan specifies the open ports of the host



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-scan-specified-host-open-port-2.html

Post comment


No Comment


Forget password?