Lines Matching refs:udpSocket
24 auto channelPtr = std::make_shared<udpsocket::Channel>(udpSocket); in handleRmcpPacket()
39 udpSocket->async_wait( in startRmcpReceive()
179 udpSocket = std::make_shared<boost::asio::ip::udp::socket>( in setupSocket()
187 udpSocket = std::make_shared<boost::asio::ip::udp::socket>(*io); in setupSocket()
188 udpSocket->open(ep.protocol()); in setupSocket()
190 udpSocket->set_option( in setupSocket()
192 udpSocket->bind(ep); in setupSocket()
197 if ((::getsockopt(udpSocket->native_handle(), SOL_SOCKET, SO_BINDTODEVICE, in setupSocket()
206 if ((::setsockopt(udpSocket->native_handle(), SOL_SOCKET, in setupSocket()
219 ::setsockopt(udpSocket->native_handle(), IPPROTO_IP, IP_PKTINFO, in setupSocket()
221 ::setsockopt(udpSocket->native_handle(), IPPROTO_IPV6, IPV6_RECVPKTINFO, in setupSocket()
253 if (udpSocket) in setupSignal()
255 udpSocket->cancel(); in setupSignal()
256 udpSocket->close(); in setupSignal()