Click here to Skip to main content
15,888,019 members
Please Sign up or sign in to vote.
0.00/5 (No votes)
See more:
Hi,
Can anybody tell me, how to retrieve IP address of the Connected client to the TCP Server.
Like for example, I started a TCP server. Then a client program sent a request to server for establishing connection. And Client program is accepted by server and connection is established. Now I need to know the IP address of the connected client.
Can anybody help me regarding this issue.
[edit: email address removed.]
Thanks you.
Posted
Updated 26-Jul-10 21:00pm
v2
Comments
DaveAuld 27-Jul-10 3:00am    
Do not post your email address in questions. Answers will be posted on the board for the benefit of the community. Posting your email address will also lead to spam.
tiggerc 27-Jul-10 4:41am    
How are you creating the socket for TCP Client on the server?

1 solution

YourTCPClient.Client.RemoteEndPoint
should be the thing, you're looking for.
 
Share this answer
 
v2

This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)



CodeProject, 20 Bay Street, 11th Floor Toronto, Ontario, Canada M5J 2N8 +1 (416) 849-8900