摘要:
from socket import * client=socket(AF_INET,SOCK_DGRAM) client.sendto(b'hello',('127.0.0.1',8081)) client.sendto(b'world',('127.0.0.1',8081)) client.se 阅读全文
posted @ 2019-07-28 07:06
zhouhao666
阅读(330)
评论(0)
推荐(0)
摘要:
import socket client=socket.socket(socket.AF_INET,socket.SOCK_DGRAM) while True: msg=input('>>: ').strip() client.sendto(msg.encode('utf-8'),('127.0.0 阅读全文
posted @ 2019-07-28 07:02
zhouhao666
阅读(161)
评论(0)
推荐(0)

浙公网安备 33010602011771号