http://lthread-cpp.readthedocs.org/en/latest/listener.html#e...
TCPListener closes the socket once its done and cleans up. And it also allows you to pass instance methods as the coroutine which has the advantage of accessing the instance context.
http://lthread-cpp.readthedocs.org/en/latest/listener.html#e...
TCPListener closes the socket once its done and cleans up. And it also allows you to pass instance methods as the coroutine which has the advantage of accessing the instance context.