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

Collapse
This topic is closed.
X
X
 
  • Time
  • Show
Clear All
new posts
  • pam

    #1

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

    I have created a connection on client and server.

    Dim Client As TcpClient = Listener.Accept TcpClient

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

    how could I do it?

  • Terry Olsen

    #2
    Re: How can i get the client's ip use tcpclient?

    Look at the TcpClient.Remot eEndPoint property.

    "pam" <peiaomin@gmail .comwrote in message
    news:1156140791 .394296.298210@ m73g2000cwd.goo glegroups.com.. .
    >I have created a connection on client and server.
    >
    Dim Client As TcpClient = Listener.Accept TcpClient
    >
    but there is no property to get the client's ip?
    >
    how could I do it?
    >

    Comment

    Working...