TcpClient Class

  • Thread starter Thread starter Javier Ros
  • Start date Start date
J

Javier Ros

Hi guys,

I´m using a TcpClient class, but it haven´t a Active property in Compact
Framework,
how to know if TcpClient is connected?

thanks in advance

Javier Ros Moreno
 
Javier,

In version 1, the TcpClient class does not support the functionality you
are looking for -- I have logged adding TcpClient.Active as a feature
request for version 2. The Socket class provides a Connected property that
can be used for this purpose. Please note, you will need to implement your
application using Socket as the underlying socket is not available from
TcpClient objects on the Compact Framework.

Hope this helps.
David Kline
Microsoft .NET Compact Framework
--------------------------------
This posting is provided “AS IS” with no warranties, and confers no
rights.

Please do not send email directly to this alias. This alias is for
newsgroup purposes only. To correspond with me directly, remove the
'online' from
my alias.
 
Back
Top