udp綁定端口

# coding:utf-8 import socket  udp_socket = socket.socket(socket.AF_INET, socket.SOCK_DGRAM) udp_socket.bind(('',7788)) send_data = input('請輸入發送的信息:') udp_socket.sendto(send_data.encode(), ('',8080)) r
相關文章
相關標籤/搜索