Most programs should bind to port 0 and let the OS allocate a free port and then report the resulting port to any future clients.
Most programs should bind to port 0 and let the OS allocate a free port and then report the resulting port to any future clients.