会员
周边
众包
新闻
博问
闪存
所有博客
当前博客
我的博客
我的园子
账号设置
简洁模式
...
退出登录
注册
登录
原竹
Do one thing at a time, and do well
博客园
首页
新随笔
联系
订阅
管理
2020年6月11日
IO多路select实现网络通信
摘要: #!/usr/bin/env python#coding:utf8''' 服务器的实现 采用select的方式'''import selectimport socketimport sysimport queue#创建套接字并设置该套接字为非阻塞模式server = socket.socket(so
阅读全文
posted @ 2020-06-11 16:35 原竹
阅读(214)
评论(1)
推荐(0)
编辑
公告