IP Address from TCPClient

Can you tell us about more what you mean. So you have an object on your form? And you want to know the ip-address of it?

If you mean this, you can set this option in your propertiesbox.

I think it's named LocalPort and LocalIP.

I'm not sure. It can be that the LocalIP the ip is from the computer where he is running on. :cool:

Greetz,

Hornet
 
TcpClient.Client is the connection's underlying socket from which you can retrieve endpoint information. You'll need to inherit from TcpClient, since Client is a protected property.
 
Back
Top