Boost.Asio chat example chat_client have 3 connections, what other 2 connections doing?

Boost.Asio chat example chat_client have 3 connections, what other 2 connections doing? Builded on WinXP. The implementation is strange.

Boost.Asio chat example chat_client have 3 connections, what other 2 connections doing? Builded on WinXP. The implementation is strange.
Could you desribe your issues a bit more clear? This would help other people to help you.

you can use SysinternalsSuite procexp.exe to watch the Boost.Asio 's chat_client example. in the tcp tab, there are 3 connections. 1 connected to chat server 2 connected to localhost 3 connected to localhost just do it, please. you will find it strange. 2010/3/9 Igor R <boost.lists@gmail.com>:
Boost.Asio chat example chat_client have 3 connections, what other 2 connections doing? Builded on WinXP. The implementation is strange.
Could you desribe your issues a bit more clear? This would help other people to help you. _______________________________________________ Boost-users mailing list Boost-users@lists.boost.org http://lists.boost.org/mailman/listinfo.cgi/boost-users

you can use SysinternalsSuite procexp.exe to watch the Boost.Asio 's chat_client example. in the tcp tab, there are 3 connections. 1 connected to chat server 2 connected to localhost 3 connected to localhost just do it, please. you will find it strange.
You're right. There's active socket_select_interrupter in the client: it uses its own socket to interrupt select().

oh, i must research the implementation. how it works. thank you. 2010/3/11 Igor R <boost.lists@gmail.com>:
you can use SysinternalsSuite procexp.exe to watch the Boost.Asio 's chat_client example. in the tcp tab, there are 3 connections. 1 connected to chat server 2 connected to localhost 3 connected to localhost just do it, please. you will find it strange.
You're right. There's active socket_select_interrupter in the client: it uses its own socket to interrupt select(). _______________________________________________ Boost-users mailing list Boost-users@lists.boost.org http://lists.boost.org/mailman/listinfo.cgi/boost-users
participants (2)
-
Igor R
-
l.jay Yuan