摘要: 一、TCP、UDP协议的简单应用 1、使用TCP协的通信的基本格式 1 # 服务端 2 from socket import * #导入socket模块 3 4 ip_port = ("127.0.0.1",8080) 5 back_log = 5 #最大连接数(挂起) 6 buffer_size 阅读全文
posted @ 2019-08-03 13:28 大触小叶儿 阅读(211) 评论(0) 推荐(0)