Lines Matching refs:Socket
28 const Socket::SocketProtocol m_protocol;
32 {"tcp", Socket::ProtocolTcp},
33 {"udp", Socket::ProtocolUdp},
34 {"unix", Socket::ProtocolUnixDomain},
35 {"unix-abstract", Socket::ProtocolUnixAbstract},
39 Socket::SocketProtocol &protocol) { in FindProtocolByScheme()
49 const char *FindSchemeByProtocol(const Socket::SocketProtocol protocol) { in FindSchemeByProtocol()
63 Socket *conn_socket = nullptr; in Accept()
71 Socket::SocketProtocol Acceptor::GetSocketProtocol() const { in GetSocketProtocol()
86 Socket::SocketProtocol socket_protocol = Socket::ProtocolUnixDomain; in Create()
101 if (Socket::DecodeHostAndPort(name, host_str, port_str, port, nullptr)) in Create()
102 socket_protocol = Socket::ProtocolTcp; in Create()
108 std::unique_ptr<Socket> listener_socket_up = in Create()
109 Socket::Create(socket_protocol, child_processes_inherit, error); in Create()
113 if (listener_socket_up->GetSocketProtocol() == Socket::ProtocolTcp) { in Create()
132 Acceptor::Acceptor(std::unique_ptr<Socket> &&listener_socket, StringRef name, in Acceptor()