Lines Matching refs:m_socket
66 m_socket = socket; in TCPSocket()
72 m_socket = socket; in TCPSocket()
78 return m_socket != kInvalidSocketValue || m_listen_sockets.size() != 0; in IsValid()
83 if (m_socket != kInvalidSocketValue) { in GetLocalPortNumber()
86 if (::getsockname(m_socket, sock_addr, &sock_addr_len) == 0) in GetLocalPortNumber()
101 if (m_socket != kInvalidSocketValue) { in GetLocalIPAddress()
104 if (::getsockname(m_socket, sock_addr, &sock_addr_len) == 0) in GetLocalIPAddress()
111 if (m_socket != kInvalidSocketValue) { in GetRemotePortNumber()
114 if (::getpeername(m_socket, sock_addr, &sock_addr_len) == 0) in GetRemotePortNumber()
123 if (m_socket != kInvalidSocketValue) { in GetRemoteIPAddress()
126 if (::getpeername(m_socket, sock_addr, &sock_addr_len) == 0) in GetRemoteIPAddress()
133 if (m_socket != kInvalidSocketValue) { in GetRemoteConnectionURI()
146 m_socket = Socket::CreateSocket(domain, kType, IPPROTO_TCP, in CreateSocket()