This issue tracker has been migrated to GitHub, and is currently read-only.
For more information, see the GitHub FAQs in the Python's Developer Guide.

Author ciresnave
Recipients ciresnave
Date 2021-09-21.00:26:04
SpamBayes Score -1.0
Marked as misclassified Yes
Message-id <1632183964.66.0.836467478723.issue45252@roundup.psfhosted.org>
In-reply-to
Content
It appears that Python's socket module is missing support for the IGMPv3 socket options needed to support Source Specific Multicast.  Many developers appear to be adding the necessary constants through something like:

if not hasattr(socket, "IP_UNBLOCK_SOURCE"):
    setattr(socket, "IP_UNBLOCK_SOURCE", 37)
if not hasattr(socket, "IP_BLOCK_SOURCE"):
    setattr(socket, "IP_BLOCK_SOURCE", 38)
if not hasattr(socket, "IP_ADD_SOURCE_MEMBERSHIP"):
    setattr(socket, "IP_ADD_SOURCE_MEMBERSHIP", 39)
if not hasattr(socket, "IP_DROP_SOURCE_MEMBERSHIP"):
    setattr(socket, "IP_DROP_SOURCE_MEMBERSHIP", 40)


...but it would be nice if these were added to the official module as they are supported under current versions of Windows, Linux, and BSD at the least.
History
Date User Action Args
2021-09-21 00:26:04ciresnavesetrecipients: + ciresnave
2021-09-21 00:26:04ciresnavesetmessageid: <1632183964.66.0.836467478723.issue45252@roundup.psfhosted.org>
2021-09-21 00:26:04ciresnavelinkissue45252 messages
2021-09-21 00:26:04ciresnavecreate