wangshen2014 / pywebsocket

Automatically exported from code.google.com/p/pywebsocket
0 stars 0 forks source link

pywebsocket wont let go of port #128

Closed GoogleCodeExporter closed 9 years ago

GoogleCodeExporter commented 9 years ago
What steps will reproduce the problem?
1.run pywebsocket as standalone
2.ctrl-z to stop
3.test port it was bound to

What is the expected output? What do you see instead?

What version of the product are you using? On what operating system?
pywebsocket 0.7.6 on Ubuntu 12.10 

Please provide any additional information below.
I am running a chat client for league of legends from 
https://github.com/rbaker87/leaguechat and will provide my set-up as attachment 

Original issue reported on code.google.com by mrsmoth...@gmail.com on 28 Feb 2013 at 10:47

Attachments:

GoogleCodeExporter commented 9 years ago
C-z doesn't kill the process, but just suspend. So keep on binding to listening 
port is expected behavior.

If you want to kill a pywebsocket, C-c works. If you want to reactivate the 
server after C-z, please resume the process, or make it being in background or 
foreground by shell commends, e.g. bg, or fg.

If I missed something, or misunderstood, please reopen this bug.

Original comment by toyoshim@chromium.org on 1 Mar 2013 at 5:53