SOCKET之多線程

多線程的原理圖:可以理解成成10086的多個客服,在SOCKET裏 有個連接池。 #!/usr/bin/env python import SocketServer class MyTcpHandler(SocketServer.BaseRequestHandler):     def handle(self):         print "Got  a new conn from ",self
相關文章
相關標籤/搜索