We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
2 parents 75e24ef + 59d429d commit 518cec4Copy full SHA for 518cec4
1 file changed
opengsq/protocols/w40kdow.py
@@ -44,7 +44,7 @@ async def get_status(self) -> Status:
44
# Create UDP socket
45
sock = socket.socket(socket.AF_INET, socket.SOCK_DGRAM)
46
sock.setsockopt(socket.SOL_SOCKET, socket.SO_REUSEADDR, 1)
47
- sock.bind(("0.0.0.0", self._port))
+ sock.bind((self._host, self._port))
48
sock.setblocking(False)
49
50
loop = asyncio.get_running_loop()
0 commit comments