摘要:
# from socket import * # client=socket(AF_INET,SOCK_STREAM) # client.connect(('127.2.2.2',6689)) # client.send('hello'.encode('utf-8')) # client.send( 阅读全文
摘要:
# from socket import * # server=socket(AF_INET,SOCK_STREAM) # server.bind(('127.2.2.2',6689)) # server.listen(5) # conn,addr=server.accept() # res1=co 阅读全文
摘要:
from socket import * client=socket(AF_INET,SOCK_STREAM) client.connect(('127.2.2.2',6688)) while True: cmd=input('>>:').strip() if not cmd:continue cl 阅读全文
摘要:
from socket import * import subprocess server=socket(AF_INET,SOCK_STREAM) server.bind(('127.2.2.2',6688)) server.listen(5) while True: conn,client_add 阅读全文