Fork me on GitHub
摘要: #_*_coding:utf-8_*_ #这是一个echo server,客户端消息,服务端回复相同的消息 import select, socket, sys, queue # Create a TCP/IP socket server = socket.socket(socket.AF_INET, socket.SOCK_STREAM) #对socket进行实例化,拿到server句柄 ... 阅读全文
posted @ 2016-03-16 23:33 stefan.liu 阅读(561) 评论(0) 推荐(0) 编辑