|
Boost Users : |
From: Vjekoslav Brajkovic (balkan_at_[hidden])
Date: 2008-08-29 19:48:33
Hi.
When designing server-client model, one has to use
boost::asio::ip::tcp::endpoint and boost::asio::ip::tcp::resolver::query
respectively. What I am confused about is that query accepts
std::string& service as a parameter whereas endpoint only accepts
unsigned short.
When writing code, it is really easy to get confused which constructor
takes string and which short. I would appreciate is somebody could
tell me if there is a way to create a server side component using
integer as a service.
- V
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