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
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Back
Top