Rev 1959 | Rev 1963 | Go to most recent revision | Show entire file | Regard whitespace | Details | Blame | Last modification | View Log | SVN | RSS feed
| Rev 1959 | Rev 1962 | ||
|---|---|---|---|
| Line 26... | Line 26... | ||
| 26 | #include <boost/lexical_cast.hpp> |
26 | #include <boost/lexical_cast.hpp> |
| 27 | 27 | ||
| 28 | namespace atom { |
28 | namespace atom { |
| 29 | namespace net { |
29 | namespace net { |
| 30 | 30 | ||
| 31 | Client::Client(boost::asio::io_service& io_service, SocketId id, SocketId server_id) : buffer_(2048) |
31 | Client::Client(boost::asio::io_service& io_service, SocketId id, SocketId server_id) : buffer_(2048), io_service_(io_service) |
| 32 | { |
32 | { |
| 33 | this->server_id_ = server_id; |
33 | this->server_id_ = server_id; |
| 34 | this->id_ = id; |
34 | this->id_ = id; |
| 35 | } |
35 | } |
| 36 | 36 | ||