diff options
Diffstat (limited to 'src/packetSource.cpp')
-rw-r--r-- | src/packetSource.cpp | 5 |
1 files changed, 0 insertions, 5 deletions
diff --git a/src/packetSource.cpp b/src/packetSource.cpp index e291175..9266b57 100644 --- a/src/packetSource.cpp +++ b/src/packetSource.cpp @@ -44,11 +44,6 @@ void PacketSource::waitUntilReady() ready_sem_.down(); } -UDPPacketSource::UDPPacketSource(std::string port) : sock_(io_service_) -{ - gResolver.resolveUdp("", port, boost::bind(&UDPPacketSource::onResolve, this, _1), boost::bind(&UDPPacketSource::onError, this, _1), gOpt.getResolvAddrType()); -} - UDPPacketSource::UDPPacketSource(std::string localaddr, std::string port) : sock_(io_service_) { gResolver.resolveUdp(localaddr, port, boost::bind(&UDPPacketSource::onResolve, this, _1), boost::bind(&UDPPacketSource::onError, this, _1), gOpt.getResolvAddrType()); |