python组播通信 发送端import timeimport socket# 组播组IP和端口mcast_group_ip = '234.2.2.2'mcast_group_port = 23456def sender(): # 建立发送socket,和正常UDP数据包没区别 send_sock = socket.socket(socket.AF_INET, socket.SOCK... Python 2024-09-23 39 点赞 0 评论 59 浏览