Searched refs:kInvalidSocketValue (Results 1 – 5 of 5) sorted by relevance
77 return m_socket != kInvalidSocketValue || m_listen_sockets.size() != 0; in IsValid()82 if (m_socket != kInvalidSocketValue) { in GetLocalPortNumber()100 if (m_socket != kInvalidSocketValue) { in GetLocalIPAddress()110 if (m_socket != kInvalidSocketValue) { in GetRemotePortNumber()122 if (m_socket != kInvalidSocketValue) { in GetRemoteIPAddress()132 if (m_socket != kInvalidSocketValue) { in GetRemoteConnectionURI()264 NativeSocket sock = kInvalidSocketValue; in Accept()265 NativeSocket listen_sock = kInvalidSocketValue; in Accept()297 if (sock != kInvalidSocketValue) { in Accept()299 sock = kInvalidSocketValue; in Accept()
58 const NativeSocket Socket::kInvalidSocketValue = INVALID_SOCKET; member in Socket62 const NativeSocket Socket::kInvalidSocketValue = -1; member in Socket76 m_socket(kInvalidSocketValue), in Socket()286 m_socket = kInvalidSocketValue; in Close()331 if (sock == kInvalidSocketValue) in CreateSocket()368 if (fd == kInvalidSocketValue) in AcceptSocket()
133 if (m_socket != kInvalidSocketValue) { in GetRemoteConnectionURI()
59 static const NativeSocket kInvalidSocketValue; variable 98 bool IsValid() const override { return m_socket != kInvalidSocketValue; }
128 if (m_socket == kInvalidSocketValue) in GetSocketName()