Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

maybe we should add TcpServer::stop #24

Closed
donzell opened this issue Sep 30, 2013 · 2 comments
Closed

maybe we should add TcpServer::stop #24

donzell opened this issue Sep 30, 2013 · 2 comments

Comments

@donzell
Copy link
Contributor

donzell commented Sep 30, 2013

Hi,giant.chen:
Programs which have many services,may need the ability to start and stop every single service.For now ,the only way to stop a TcpServer is to stop the loop,this may not be a problem when one loop only support one Tcpserver.But i think different TcpServer attach on one loop is need,so TcpServer::stop may be needed.
Your idea?

@chenshuo
Copy link
Owner

You may destruct a TcpServer while keep the loop running.
Does this meet your requirement?

@donzell
Copy link
Contributor Author

donzell commented Oct 1, 2013

Yes,I found TcpServer's dtor has the meaning of stop.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants