Skip to content

A simple Python chatroom using socket and select.

Notifications You must be signed in to change notification settings

imcheney/ChatRoom

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

6 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

A simple Python chatroom

About

A simple Python chatroom using socket and select

How select works in 20 lines of code

refer to select_usage_example.py

select 在某个 socket 有数据到达时,或者当某个 socket 可以写数据时,又或者是当某个 socket 发生错误时通知. select让你可以同时响应很多socket的多个事件。

Reference

Python Socket 编程——聊天室示例程序, https://www.cnblogs.com/hazir/p/python_chat_room.html

About

A simple Python chatroom using socket and select.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages