diff --git a/src/jamidht/multiplexed_socket.cpp b/src/jamidht/multiplexed_socket.cpp index b72adee32489cc58aeb1a68c35c6f0e4b6892e91..5b4a9c16dc6193053f649bb7f3e78efb842b87fb 100644 --- a/src/jamidht/multiplexed_socket.cpp +++ b/src/jamidht/multiplexed_socket.cpp @@ -421,7 +421,7 @@ MultiplexedSocket::Impl::handleChannelPacket(uint16_t channel, std::vector<uint8 auto sockIt = sockets.find(channel); if (channel > 0 && sockIt->second) { if (pkt.size() == 0) { - sockIt->second->shutdown(); + sockIt->second->stop(); sockets.erase(sockIt); } else { sockIt->second->onRecv(std::move(pkt)); @@ -789,7 +789,6 @@ ChannelSocket::onRecv(std::vector<uint8_t>&& pkt) { pimpl_->cv.notify_all(); } - std::shared_ptr<IceTransport> ChannelSocket::underlyingICE() const {