Skip to content

Instantly share code, notes, and snippets.

@rweir
Created June 28, 2011 12:06
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save rweir/1051000 to your computer and use it in GitHub Desktop.
Save rweir/1051000 to your computer and use it in GitHub Desktop.
The XY problem
12:06 < Minkben> what's the equivalent of socket.SO_REUSEADDR on twisted?
12:06 < bob2> are you /sure/ you want that?
12:07 < Minkben> I am developing it atm, and if I force close the server it still is bound to the host/post for a while, so I can't restart it
12:07 < bob2> force close?
12:07 < Minkben> ctrl + z
12:08 < bob2> oh, windows
12:08 < Minkben> no, debian linux
12:08 < TheSheep> that doesn't force close
12:08 < bob2> ctrl-z doesn't kill anything on unix, it suspends
12:08 < Minkben> oh, that explains alot
12:08 < bob2> yes
12:08 < bob2> best XY ever
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment