02 2020 档案

摘要:import socket import threading def handle_client_request(ip_port, new_client): print("客户端的ip和端口号为:", ip_port) # 5.接收客户端的连接请求 # 收发消息都是用返回的这个新的套接字 while 阅读全文
posted @ 2020-02-09 16:30 了_凡 阅读(36) 评论(0) 推荐(0)
摘要:import multiprocessing import time def one(): for i in range(2): print("one") time.sleep(0.5) def two(): for i in range(2): print("two") time.sleep(0. 阅读全文
posted @ 2020-02-08 08:46 了_凡 阅读(54) 评论(0) 推荐(0)