由网友(画江山)分享简介:我想关闭套接字这样我就可以重新打开一个相同的端口上,但我不会对套接字句柄。I want to close a socket so I can reopen one on the same port but I do not have a handle on that socket.我怎样才能被监听本地主机插座:87...
我想关闭套接字这样我就可以重新打开一个相同的端口上,但我不会对套接字句柄。
I want to close a socket so I can reopen one on the same port but I do not have a handle on that socket.
我怎样才能被监听本地主机插座:873将其关闭
How can I get the socket that is listening on localhost:873 to close it?
推荐答案
如果没有一个内核驱动程序,这是不可能的。这是不合法的Windows中抢在另一个进程中的套接字句柄并关闭它主动。
Without a kernel driver this is not possible. It is not legal in Windows to grab a socket handle in another process and close it proactively.
相关推荐
最新文章