socket
摘要:import socket client = socket.socket() client.connect(("localhost",9999)) while True: cmd = input(">>:").strip() if len(cmd) == 0:continue client.send(cmd.encode("utf-8")) cmd_res_si...
阅读全文
posted @ 2018-09-13 17:06
posted @ 2018-09-13 17:06