56 #ifndef __SIM_LOC_CLIENT_SOCKET_H_INCLUDED 57 #define __SIM_LOC_CLIENT_SOCKET_H_INCLUDED 59 #include <boost/asio/buffer.hpp> 60 #include <boost/asio/io_service.hpp> 61 #include <boost/asio/ip/tcp.hpp> 62 #include <boost/asio/read.hpp> 63 #include <boost/asio/write.hpp> 93 virtual bool connect(boost::asio::io_service & io_service,
const std::string & server_adress,
int tcp_port);
101 virtual bool close(
bool force_shutdown =
false);
116 #endif // __SIM_LOC_CLIENT_SOCKET_H_INCLUDED
boost::asio::ip::tcp::socket m_tcp_socket
tcp client socket implementation
virtual boost::asio::ip::tcp::socket & socket(void)
ClientSocket(boost::asio::io_service &io_service)
virtual bool close(bool force_shutdown=false)
virtual bool connect(boost::asio::io_service &io_service, const std::string &server_adress, int tcp_port)