Category : multicast

I have an application that meeds to: talks in UDP support optionally disabling multicast. treat multicast message the same way as unicast message but with few restrictions I thought I should use same UDP socket to receive both unicast and multicast datagrams. # udp_multicast_recv.py # Python version used: 3.9.1 import socket import struct host = ..

Read more

I am trying to send a UDP multicast message from my container-1 and trying to receive it on container2.I have linked container-2 with container-1 using –link option .I am using these sample codes for testing multicastsend.py import socket MCAST_GRP = ‘224.1.1.1’ MCAST_PORT = 5007 regarding socket.IP_MULTICAST_TTL # ——————————— # for all packets sent, after two ..

Read more