mIRC just picks a random local port for the TCP connection.