socket.SO_REUSEADDR

This commit is contained in:
clowwindy 2014-06-01 14:53:06 +08:00
parent 5e9a9c9beb
commit 3cefe374c2
4 changed files with 14 additions and 10 deletions

View file

@ -55,7 +55,7 @@ def main():
while sys.stdin.read():
pass
except KeyboardInterrupt:
sys.exit(0)
os._exit(0)
if __name__ == '__main__':
main()