homepage

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 abgrover
Recipients
Date 2006年03月31日.22:16:42
SpamBayes Score
Marked as misclassified
Message-id
In-reply-to
Content
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')
History
Date User Action Args
2007年08月23日 14:39:01adminlinkissue1462440 messages
2007年08月23日 14:39:01admincreate

AltStyle によって変換されたページ (->オリジナル) /