get the IP address of the Client

fotini

Freshman
Joined
Jun 3, 2003
Messages
39
I can't find the way to get the client's IP Address from the TcpClient...
If I din't use TcpClient, I could AcceptSocket() instead of AcceptTcpClient() to get the socket. When I had the socket I could use get_RemoteEndPoint()
but
I want to use TcpClient.
Actually, I'm trying to create a derived class from NetworkStream so that I have access to its protected Socket method and get the IP address...I want help or a better idea....Please.....

Thanks
 
Back
Top