diff options
Diffstat (limited to 'Demo/rpc/rpc.py')
-rw-r--r-- | Demo/rpc/rpc.py | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/Demo/rpc/rpc.py b/Demo/rpc/rpc.py index fb21fc2..83cc954 100644 --- a/Demo/rpc/rpc.py +++ b/Demo/rpc/rpc.py @@ -376,7 +376,7 @@ class RawBroadcastUDPClient(RawUDPClient): def connsocket(self): # Don't connect -- use sendto - self.sock.allowbroadcast(1) + self.sock.setsockopt(socket.SOL_SOCKET, socket.SO_BROADCAST, 1) def set_reply_handler(self, reply_handler): self.reply_handler = reply_handler |