resolves the hostname once and use it throughout the package

this is more efficient and fails faster on error.

patch bump
This commit is contained in:
2026-03-11 04:04:53 +00:00
parent c46ca8a8c8
commit 2794b14cf1
3 changed files with 11 additions and 8 deletions

View File

@@ -33,7 +33,7 @@ class Subscriber(threading.Thread):
nbs, self._remote._get_next_framecounter()
)
self._remote.sock.sendto(
sub_packet, (self._remote.host, self._remote.port)
sub_packet, (self._remote._host_ip, self._remote.port)
)
self.wait_until_stopped(10)