ance
asked on
how to get Ip address from tcpListener
how to get Ip address from tcpListener when other connected as tcpClient on the same port number ?
i.e : iam the server, i want to know ip of each client connected to me
thanks
i.e : iam the server, i want to know ip of each client connected to me
thanks
Hello
Look at RemoteEndPoint and IPEndPoint
The IPEndPoint class contains the host and port information needed by an application to connect to a service on a host. By combining the host's IP address and port number of a service, the IPEndPoint class forms a connection point to a service
http://msdn.microsoft.com/library/default.asp?url=/library/en-us/cpref/html/frlrfsystemnetipendpointclasstopic.asp
Look at RemoteEndPoint and IPEndPoint
The IPEndPoint class contains the host and port information needed by an application to connect to a service on a host. By combining the host's IP address and port number of a service, the IPEndPoint class forms a connection point to a service
http://msdn.microsoft.com/library/default.asp?url=/library/en-us/cpref/html/frlrfsystemnetipendpointclasstopic.asp
ASKER CERTIFIED SOLUTION
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
http://www.winsockvb.com/forums/showthread.php?s=c184cbcbc797087b5fb8062cd691cf58&p=8494#post8494
-Sree