
27 Jul
2009
27 Jul
'09
10:47 a.m.
I used async echo server sample <http://www.boost.org/doc/libs/1_39_0/doc/html/boost_asio/example/echo/async_tcp_echo_server.cpp>as a starting point. ... Can I get information of connected sessions from io_service? (or any other recommendations on how to better design it?)
Maybe I should keep a global array of sessions, instead of creating it with a pointer session* new_session is this a bad idea? It seems like in the current code ONLY ONE session pointer is passed around. I had thought (from the name "session") there would be a session per connection? Thanks again, Ozgur Ozturk www.DrOzturk.com