python socket编程详细介绍


Python 提供了两个基本的 socket 模块。

   第一个是 Socket,它提供了标准的 BSD Sockets API。

   第二个是 SocketServer, 它提供了服务器中心类,可以简化网络服务器的开发。

下面讲的是Socket模块功能

http://blog.csdn.net/rebelqsp/article/details/22109925server:


client:





socket server(多线程处理):



null