Searched refs:NewServer (Results 1 – 3 of 3) sorted by relevance
64 static std::unique_ptr<Socket> NewServer(Protocol protocol, int port);
38 *server = Socket::NewServer(protocol, 0); in MakeConnectedSockets()175 std::unique_ptr<Socket> sock = Socket::NewServer(Socket::Protocol::kUdp, 0); in TEST()212 std::unique_ptr<Socket> sock = Socket::NewServer(Socket::Protocol::kTcp, 0); in TEST()
267 std::unique_ptr<Socket> Socket::NewServer(Protocol protocol, int port) { in NewServer() function in Socket