From fd419ce4f2bcadae313f4f368361c733c1249ae9 Mon Sep 17 00:00:00 2001 From: Christian Pointner Date: Sun, 22 Mar 2009 17:50:10 +0000 Subject: added error callback to resolver for better handling of resolvCallback exceptions --- src/packetSource.h | 1 + 1 file changed, 1 insertion(+) (limited to 'src/packetSource.h') diff --git a/src/packetSource.h b/src/packetSource.h index 94c6c45..6909125 100644 --- a/src/packetSource.h +++ b/src/packetSource.h @@ -66,6 +66,7 @@ public: void send(u_int8_t* buf, u_int32_t len, PacketSourceEndpoint remote); void onResolve(const boost::asio::ip::udp::endpoint& e); + void onError(const std::runtime_error& e); private: -- cgit v1.2.3