Get Client Socket from TcpClient

  • Thread starter Thread starter Joshua Ellul
  • Start date Start date
J

Joshua Ellul

Hi,

I have a TcpClient object... I would like to get the remoteendpoint from
this object... how can I do this?

Joshua
 
The only way to gain access to it is to create a class that
descends from TcpClient. TcpClient has a protected property
Client representing the underlying socket.

As an alternative, you could use the Socket class to create
a clientconnection.

Willem van Rumpt
 
Back
Top