Skip to content
Permalink
Browse files

Merge pull request #102 from assafnativ/nativ/fix_windows

Fix Windows support
  • Loading branch information
patateqbool committed Jan 22, 2020
2 parents eeca01d + e871a8c commit d63bb7c887be9ca61ff3457eadebfb8ba4bb94ff
Showing with 2 additions and 1 deletion.
  1. +2 −1 idarling/shared/discovery.py
@@ -81,8 +81,9 @@ def _send_request(self):
request = request.encode("utf-8")
while len(request):
try:
self._socket.setblocking(0)
sent = self._socket.sendto(
request, socket.MSG_DONTWAIT, ("<broadcast>", 31013)
request, 0, ("<broadcast>", 31013)
)
request = request[sent:]
except socket.error as e:

0 comments on commit d63bb7c

Please sign in to comment.
You can’t perform that action at this time.