阅读背景:

在python线程中关闭侦听套接字

来源:互联网 

I have a problem trying to learn about sockets for network communication. I have made a simple thread that listens for connections and creates processes for connecting clients, my problem though is that I can't get the thread to join properly as I haven't found a way to cancel the socket.accept()-call when I want to quit the program.I have a problem trying to learn about sockets




你的当前访问异常,请进行认证后继续阅读剩余内容。

分享到: