Here\'s my code:
TcpListener listener = new TcpListener(IPAddress.Any, 0); listener.Start(); var v = (IPEndPoint)listener.LocalEndpoint;
Acco