Browse Source

changed to TCP

develop
yakamok 6 years ago committed by GitHub
parent
commit
ba9a2d2fa8
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
  1. 2
      send-view.py

2
send-view.py

@ -11,7 +11,7 @@ def send_view_to_server(tosend): @@ -11,7 +11,7 @@ def send_view_to_server(tosend):
attempts = 3
while attempts:
try:
conn = socket.socket(socket.AF_INET6, socket.SOCK_DGRAM)
conn = socket.socket(socket.AF_INET, socket.SOCK_STREAM)
conn.sendto(tosend, (SERVER, 45671))
break
except:

Loading…
Cancel
Save