title: Get remote port of a connected TcpClient
body: <p>For the purposes of constructing a rate limiter I need to be able to distinguish different users being routed through the same gateway.  So if I have 100 clients with the same IP address I would like to tell them apart by what port they are associated with on the remote gateway/host/router.</p>
  
  <p>I can get the IP easily with:</p>
  
  <pre><code>string clientIPAddress = ((IPEndPoint)tcpClient.Client.RemoteEndPoint).Address.ToString();
  </code></pre>
  
  <p>Is there some way similarly to get the remote port number for the client?  Thanks.</p>