Python组播Python组播
Python组播import timeimport socketimport threadingimport os# 组播组IP和端口ANY = "0.0.0.0"mcast_group_ip = '239.255.0.181'mcast_group_port = 38090def thread_recv(sock): while True: try: message, addr = sock.recvfrom(1024)