blob: 56cf9d9ceb477a27f0e78c99268b4a19fcc2354c [file] [log] [blame]
// Copyright (c) 2019 The Chromium Authors. All rights reserved.
// Use of this source code is governed by a BSD-style license that can be
// found in the LICENSE file.
#ifndef NET_TOOLS_QUIC_QUIC_SIMPLE_SERVER_SOCKET_H_
#define NET_TOOLS_QUIC_QUIC_SIMPLE_SERVER_SOCKET_H_
#include "net/base/ip_endpoint.h"
#include "net/socket/udp_server_socket.h"
namespace net {
// Creates a UDP server socket tuned for use in a QUIC server.
std::unique_ptr<UDPServerSocket> CreateQuicSimpleServerSocket(
const IPEndPoint& address,
IPEndPoint* server_address);
} // namespace net
#endif // NET_TOOLS_QUIC_QUIC_SIMPLE_SERVER_SOCKET_H_