Bugs item #1462440, was opened at 2006-03-31 15:16 Message generated for change (Tracker Item Submitted) made by Item Submitter You can respond by visiting: https://sourceforge.net/tracker/?func=detail&atid=105470&aid=1462440&group_id=5470
Please note that this message will contain a full copy of the comment thread, including the initial issue submission, for this request, not just the latest update. Category: Windows Group: Python 2.4 Status: Open Resolution: None Priority: 5 Submitted By: Alan G (abgrover) Assigned to: Nobody/Anonymous (nobody) Summary: udp multicast setsockopt fails Initial Comment: Using setsockopt to join a multicast group for a udp socket fails on windows (works on linux). Test reproduction: run the attached file expected behavior: The snd thread sends three udp packets to the multicast address. The rcv thread reads three udp packets. observed behavior on linux: the expected behavior observed behavior on windows: Exception in thread rcv: Traceback (most recent call last): File "C:\Python24\lib\threading.py", line 442, in __bootstrap self.run() File "C:\Python24\lib\threading.py", line 422, in run self.__target(*self.__args, **self.__kwargs) File "E:\svn\TTC\trunk\agrover\src\SmcTestCase\multicastbug.py", line 12, in rcv s.setsockopt(SOL_IP, IP_ADD_MEMBERSHIP, sopt) File "<string>", line 1, in setsockopt error: (10022, 'Invalid argument') ---------------------------------------------------------------------- You can respond by visiting: https://sourceforge.net/tracker/?func=detail&atid=105470&aid=1462440&group_id=5470 _______________________________________________ Python-bugs-list mailing list Unsubscribe: http://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com