uri::string_type operator () (const boost::asio::ip::address_v4 &host) const { return host.to_string(); }
Worker::Worker(boost::asio::io_service& io_srv, boost::asio::ip::address_v4 ip): io_srv_(io_srv), ip_(ip), cudp(io_srv_, ip_.to_string()), cicmp(io_srv_, ip_.to_string()), ctcp(io_srv, ip.to_string()) { }