1 // Copyright 2019 The Chromium Authors 2 // Use of this source code is governed by a BSD-style license that can be 3 // found in the LICENSE file. 4 5 #ifndef NET_TOOLS_QUIC_QUIC_SIMPLE_SERVER_SOCKET_H_ 6 #define NET_TOOLS_QUIC_QUIC_SIMPLE_SERVER_SOCKET_H_ 7 8 #include "net/base/ip_endpoint.h" 9 #include "net/socket/udp_server_socket.h" 10 11 namespace net { 12 13 // Creates a UDP server socket tuned for use in a QUIC server. 14 std::unique_ptr<UDPServerSocket> CreateQuicSimpleServerSocket( 15 const IPEndPoint& address, 16 IPEndPoint* server_address); 17 18 } // namespace net 19 20 #endif // NET_TOOLS_QUIC_QUIC_SIMPLE_SERVER_SOCKET_H_ 21