diff options
Diffstat (limited to 'python/trx')
-rw-r--r-- | python/trx/udp_link.py | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/python/trx/udp_link.py b/python/trx/udp_link.py index 584a6ac..675ef5c 100644 --- a/python/trx/udp_link.py +++ b/python/trx/udp_link.py @@ -28,7 +28,7 @@ import select class udp_link: def __init__(self, remote_addr, remote_port, bind_port): self.sock = socket.socket(socket.AF_INET, socket.SOCK_DGRAM) - self.sock.bind(('0.0.0.0', bind_port)) + self.sock.bind((remote_addr, bind_port)) self.sock.setblocking(0) # Save remote info |