Created
June 13, 2017 15:04
-
-
Save pydevd/6226f21d6a7102ea742fb59bcb75e4ca to your computer and use it in GitHub Desktop.
Pill from [Errno 98] Address already in use
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# pill from [Errno 98] Address already in use | |
socket.setsockopt(socket.SOL_SOCKET, socket.SO_REUSEADDR, 1) | |
socket.setsockopt(socket.SOL_SOCKET, socket.SO_LINGER, struct.pack('ii', 1, 0)) | |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment