Closed Hagfjall closed 10 years ago
According to https://docs.python.org/2/library/socket.html#socket.socket.sendto the sendto() should only be used when not connected. Removed connect since sendto() connect to the specified address.
This patch fixes the problem ( [Errno 56] Socket is already connected ) on OS X.
Good catch, thanks for the pull-request =)
According to https://docs.python.org/2/library/socket.html#socket.socket.sendto the sendto() should only be used when not connected. Removed connect since sendto() connect to the specified address.
This patch fixes the problem ( [Errno 56] Socket is already connected ) on OS X.