consik/yii2-websocket

How to closed socket through console after i start it?

shizzic opened this issue · 2 comments

I mean, i want to do it with my own hands, without ctrl + c. Socket connection for all connected user stop with keyboard, but trigger EVENT_WEBSOCKET_CLOSE doesn't work.

you can type ctrl+c with your own hands )) I have a similar question: how to start it in background? If I close terminal the connection closes.