Find a free port C#

Posted by Alon on Stack Overflow See other posts from Stack Overflow or by Alon
Published on 2010-03-16T17:47:46Z Indexed on 2010/03/16 17:51 UTC
Read the original article Hit count: 531

Filed under:
|
|
  • How does IPEndPoint finds a free port when I do new IPEndPoint(IPAddress.Any, 0), for example?

  • Is it possible to find a free port from a range, without the GetActiveTcpConnections method? because it is slow - I need a faster way to do this.

Thanks.

© Stack Overflow or respective owner

Related posts about c#

Related posts about port