Skip to content

Reliable get_free_port()

the-very requested to merge github/fork/apolukhin/reliable-get-free-port into develop

Created by: apolukhin

  • get_free_port() not attempts to find port that is open on IPv6 and IPv4, rather than just finding a free port on a random interface
  • get_free_port() now does not close the bound socket on Linux, so that the address could not be reused by other application via bind(???, 0)
  • added some docs

Merge request reports