TcpClient Class

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
 
D

David Kline [msft]

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.
 

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

Top