摘要:
import os import socketimport threadingimport SocketServerSERVER_HOST = 'localhost'SERVER_PORT = 0 #tells the kernel to pick up a port dynamicallyBUF_... 阅读全文
posted @ 2015-08-15 21:30
arhatlohan
阅读(357)
评论(0)
推荐(0)
摘要:
Exception happened during processing of request from ('127.0.0.1', 65066)Traceback (most recent call last): File "C:\Python27\lib\SocketServer.py", l... 阅读全文
posted @ 2015-08-15 21:29
arhatlohan
阅读(2659)
评论(0)
推荐(0)
摘要:
Server:import socketimport sysimport argparsehost = 'localhost'data_payload = 2048backlog = 5def echo_server(port): '''A simple echo server''' #Create... 阅读全文
posted @ 2015-08-15 20:13
arhatlohan
阅读(446)
评论(0)
推荐(0)

浙公网安备 33010602011771号