通过设置socket.settimeout 来实现超时功能: import select import socket HOST = '127.0.0.1' PORT = 8000 timeout = 60 * 1 # 1 分钟s ...
確定! 回上一頁