1 // Copyright 2014 The Chromium Authors. All rights reserved.
2 // Use of this source code is governed by a BSD-style license that can be
3 // found in the LICENSE file.
5 #include "net/base/ip_endpoint.h"
11 // Determine a unused UDP port for the in-process receiver to listen on.
12 // Method: Bind a UDP socket on port 0, and then check which port the
13 // operating system assigned to it.
14 net::IPEndPoint
GetFreeLocalPort();