Multicast SSM Joins - Printable Version +- Python Forum (https://python-forum.io) +-- Forum: Python Coding (https://python-forum.io/forum-7.html) +--- Forum: Networking (https://python-forum.io/forum-12.html) +--- Thread: Multicast SSM Joins (/thread-21728.html) |
Multicast SSM Joins - iunderwood74 - Oct-11-2019 Good morning, folks. I'm looking to use Python to do some work with IP Multicast under version 3.7. However, the wrinkle in the system is that the particular stream I need to join is a source-specific stream, with the socket option only existing for IGMPv2 with IP_ADD_MEMBERSHIP. In my online searches, the only other references I have been able to find are in C, which reference IP_ADD_SOURCE_MEMBERSHIP. socketIn.setsockopt(socket.IPPROTO_IP, socket.SO_REUSEADDR, 1) socketIn.setsockopt(socket.IPPROTO_IP, socket.IP_ADD_MEMBERSHIP, (socket.inet_aton(groupAddr)+socket.inet_aton(myAddr)))I'd rather not spoof out my own IGMPv3 packets, or make an SSM map on my network, but that looks like it may be necessary for me to join the stream I need. Is it possible that a future version of Python will support this and its associated socket options? Thanks in advance! |