Commit aadd5d0f authored by Kirill Smelkov's avatar Kirill Smelkov

.

parent 3ddf36e0
......@@ -38,8 +38,8 @@ def mjoin_rx(group, port):
sk = socket(AF_INET, SOCK_DGRAM, IPPROTO_UDP)
sk.setsockopt(SOL_SOCKET, SO_REUSEADDR, 1)
#sk.bind((group, port))
sk.bind(('', port)) # XXX and later IP_MULTICAST_ALL=0 ?
sk.bind((group, port)) # works for reception even from multiple ifaces
#sk.bind(('', port)) # XXX and later IP_MULTICAST_ALL=0 ?
## join the group (for rx)
#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