Exception in thread Thread-202:
Traceback (most recent call last):
File "/usr/lib/python2.7/threading.py", line 801, in __bootstrap_inner
self.run()
File "/usr/lib/python2.7/threading.py", line 1073, in run
self.function(*self.args, **self.kwargs)
File "./ygate.py", line 47, in send_my_position
sock.send(position_string)
error: [Errno 32] Broken pipe
If the socket is closed for any reason, the program throws the above error repeatedly and becomes unresponsive. _send_myposition should catch closed sockets and re-open it.
If the socket is closed for any reason, the program throws the above error repeatedly and becomes unresponsive. _send_myposition should catch closed sockets and re-open it.