Boost logo

Boost Users :

Subject: [Boost-users] question about a asio example
From: pedro chaparro (pdro07_at_[hidden])
Date: 2010-03-05 10:32:15


 Hi, inthe example of a chat server usin asio library,
http://www.boost.org/doc/libs/1_42_0/doc/html/boost_asio/example/chat/chat_server.cpp
there is a fuction socket() , that socket_ value the function returns
i use to each new connection with the server right? so if i have n
users , i'll have n opened sockets??
i'll aprecciate to get me clear on this
thanks

 tcp::socket& socket()
  {
    return socket_;
  }

-- 
Ing Pedro Alonso Chaparro Valero
Ciudad Politecnica de la Innovación
iTEAM - Mobile Communications Group
Polytechnic University of Valencia
C\ Camino de Vera S/N, Edificio 8G
46022 Valencia, Spain


Boost-users list run by williamkempf at hotmail.com, kalb at libertysoft.com, bjorn.karlsson at readsoft.com, gregod at cs.rpi.edu, wekempf at cox.net