title: On the Server: Getting IP Address of Connected Clients
body: <p>I've two machines: Server &amp; Client
  when I ask for the client ip in the client machine by</p>
  
  <pre><code>TcpClient client = new TcpClient();
  client.Connect(serverip, PORTNO);
  MessageBox.Show(client.Client.LocalEndPoint.ToString());
  </code></pre>
  
  <p>I get: 192.168.241.128:1025
  It's the client ip.</p>
  
  <p>but when I apply on the server the following:</p>
  
  <pre><code>_client = client;
  _clientIP = client.Client.RemoteEndPoint.ToString();
  AllClients.Add(_clientIP, this);
  data = new byte[_client.ReceiveBufferSize];
  _client.GetStream().BeginRead(data, 0, System.Convert.ToInt32(_client.ReceiveBufferSize), ReceiveMessage, null);
  
  MessageBox.Show(client.Client.RemoteEndPoint.ToString());
  </code></pre>
  
  <p>I get 192.168.92.1:1047
  which is the server ip!</p>
  
  <p>What's the problem?</p>