摘要:
import os import socketimport threadingimport SocketServerSERVER_HOST = 'localhost'SERVER_PORT = 0 #tells the kernel to pick up a port dynamicallyBUF_... 阅读全文
摘要:
Exception happened during processing of request from ('127.0.0.1', 65066)Traceback (most recent call last): File "C:\Python27\lib\SocketServer.py", l... 阅读全文
摘要:
Server:import socketimport sysimport argparsehost = 'localhost'data_payload = 2048backlog = 5def echo_server(port): '''A simple echo server''' #Create... 阅读全文