Commit ff84a428 authored by Kirill Smelkov's avatar Kirill Smelkov Committed by Léo-Paul Géneau

.

parent 703a9bf0
...@@ -38,8 +38,8 @@ def mjoin_rx(group, port): ...@@ -38,8 +38,8 @@ def mjoin_rx(group, port):
sk = socket(AF_INET, SOCK_DGRAM, IPPROTO_UDP) sk = socket(AF_INET, SOCK_DGRAM, IPPROTO_UDP)
sk.setsockopt(SOL_SOCKET, SO_REUSEADDR, 1) sk.setsockopt(SOL_SOCKET, SO_REUSEADDR, 1)
#sk.bind((group, port)) sk.bind((group, port)) # works for reception even from multiple ifaces
sk.bind(('', port)) # XXX and later IP_MULTICAST_ALL=0 ? #sk.bind(('', port)) # XXX and later IP_MULTICAST_ALL=0 ?
## join the group (for rx) ## join the group (for rx)
#mreq = pack("4sl", inet_aton(group), INADDR_ANY) #mreq = pack("4sl", inet_aton(group), INADDR_ANY)
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment