HRESULT EnablePktInfoImpl(int level, int option1, int option2, bool fEnable)
void operator=(const CStunSocket &)
void SetRole(SocketRole role)
CSocketAddress _addrlocal
HRESULT SetV6Only(int sock)
HRESULT EnablePktInfo_IPV4(bool fEnable)
int GetSocketHandle() const
SocketRole GetRole() const
HRESULT EnablePktInfoOption(bool fEnable)
HRESULT InitCommon(int socktype, const CSocketAddress &addrlocal, SocketRole role, bool fSetReuseFlag)
CSocketAddress _addrremote
const CSocketAddress & GetRemoteAddress() const
HRESULT EnablePktInfo_IPV6(bool fEnable)
boost::shared_ptr< CStunSocket > CRefCountedStunSocket
HRESULT UDPInit(const CSocketAddress &local, SocketRole role)
HRESULT TCPInit(const CSocketAddress &local, SocketRole role, bool fSetReuseFlag)
HRESULT SetNonBlocking(bool fEnable)
CStunSocket(const CStunSocket &)
const CSocketAddress & GetLocalAddress() const