1 Star 0 Fork 46

DaXingS/qytang_Python

Create your Gitee Account
Explore and code with more than 12 million developers,Free private repositories !:)
Sign up
Clone or Download
2016.1.18 无缓冲服务器测试 212 Bytes
Copy Edit Raw Blame History
现任明教教主-乾颐堂 authored 2016-01-18 09:39 . new file
from socket import *
sock = socket()
sock.bind(('', 60000))
sock.listen(5)
print('accepting...')
conn, id = sock.accept()
for i in range(3):
print('receiving...')
msg = conn.recv(1024)
print(msg)
马建仓 AI 助手
尝试更多
代码解读
代码找茬
代码优化
Python
1
https://gitee.com/DaXingS/qytang_Python.git
git@gitee.com:DaXingS/qytang_Python.git
DaXingS
qytang_Python
qytang_Python
master

Search