Home All Groups Group Topic Archive Search About

How can i get the client's ip use tcpclient?

Author
21 Aug 2006 6:13 AM
pam
I have created a connection on client and server.

Dim Client  As TcpClient = Listener.AcceptTcpClient

but there is no property to get the client's ip?

how could I do it?

Author
21 Aug 2006 1:01 PM
Terry Olsen
Look at the TcpClient.RemoteEndPoint property.

Show quoteHide quote
"pam" <peiao***@gmail.com> wrote in message
news:1156140791.394296.298210@m73g2000cwd.googlegroups.com...
>I have created a connection on client and server.
>
> Dim Client  As TcpClient = Listener.AcceptTcpClient
>
> but there is no property to get the client's ip?
>
> how could I do it?
>