From 1d94fdfe11067f9e14d01c395f918ec473afcf9d Mon Sep 17 00:00:00 2001 From: rahulm Date: Tue, 24 Jun 2014 20:19:08 +0530 Subject: [PATCH] removed ip address form clippy receiver binding --- desktop/Clippy.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/desktop/Clippy.py b/desktop/Clippy.py index e976be9..3e11355 100644 --- a/desktop/Clippy.py +++ b/desktop/Clippy.py @@ -69,7 +69,7 @@ def __init__(self,msg,port): def run(self): sock = socket.socket(socket.AF_INET, socket.SOCK_DGRAM, socket.IPPROTO_UDP) sock.setsockopt(socket.SOL_SOCKET, socket.SO_REUSEADDR, 1) - sock.bind((MCAST_GRP, self._port)) + sock.bind(('', self._port)) mreq = struct.pack("4sl", socket.inet_aton(MCAST_GRP), socket.INADDR_ANY) sock.setsockopt(socket.IPPROTO_IP, socket.IP_ADD_MEMBERSHIP, mreq)