Skip to content

Python-Socket,UDP,TCP,SELECT,EPOLL等的例子代码

Notifications You must be signed in to change notification settings

nqf/Python-Socket

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

4 Commits
 
 
 
 
 
 

Repository files navigation

Python-Socket

Python-Socket,UDP,TCP,SELECT,EPOLL等的例子代码

Socket包:Socket例子
SocketDemo.py————Socket实现UDP,TCP
TCPClientSocket.py————TCP客户端实现
TCPServerSocket.py ———— TCP服务器端实现
UDPBroadcast.py ———— UDP广播实现
UDPReadDemo.py ———— UDP接收端
UDPSendDemo.py ———— UDP发送端

ServerType:各种服务器的实现
Coroutine.py ———— 协程的实现
MultiProcessServer.py ————多进程服务器端
MultithreadingServer.py ———— 多线程服务器端
SingleProcessServer.py ———— 单进程服务器端
SingleProcessServerNoBlocking_Client.py———— 单进程服务器无阻塞—客户端
SingleProcessServer_EPOLL.py ———— 单进程服务器端epoll实现
SingleProcessServer_NoBlocking.py ———— 单进程服务端无阻塞
SingleProcessServer_Select.py ———— 单进程服务端select实现

About

Python-Socket,UDP,TCP,SELECT,EPOLL等的例子代码

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • Python 100.0%