TCP network communication programming netstat

[netstat command]

 【illustrate】

(1) Listening indicates that a certain port is listening

(2) If an external program (client) is connected to the port, a connection message will be displayed

(3) Use the command netstat -anb to see which program is listening on the port, but you need to run the dos console as an administrator.

Guess you like

Origin blog.csdn.net/weixin_73936404/article/details/132000070