- still not working, but the skeleton is done
#include "tcp/tcpheader.h"
using namespace std;
+using boost::asio::io_service;
using boost::function;
//-----------------------------------------------------------------------------
// TcpPinger
//-----------------------------------------------------------------------------
-TcpPinger::TcpPinger()
+TcpPinger::TcpPinger(
+ io_service &io_serv,
+ const string &source_network_interface,
+ const int echo_reply_timeout_in_sec
+)
{
}
#include <string>
+#include <boost/asio.hpp>
#include <boost/function.hpp>
#include "host/pinger.h"
class TcpPinger : public Pinger
{
public:
- TcpPinger();
+ TcpPinger(
+ boost::asio::io_service &io_service,
+ const std::string &source_network_interface,
+ const int echo_reply_timeout_in_sec
+ );
virtual ~TcpPinger();
void ping(