you could always call netstat. that'll give you the ip of every machine connected to yours, and also the stat of that connection.
tinstaafl
Nearly a Posting Virtuoso
1,470 posts since Jun 2010
Reputation Points: 429
Solved Threads: 262
Skill Endorsements: 14
You can obtain the client IP address with the following call:
string clientConnection = ((IPEndPoint)tcpClient.Client.RemoteEndPoint).Address.ToString();
where tcpClient is your TCPClient object.
darkagn
Nearly a Posting Virtuoso
1,223 posts since Aug 2007
Reputation Points: 404
Solved Threads: 212
Skill Endorsements: 15