M
Martin Waller
Hello,
my mobile application for pocket PC must communicate to a server (TCP/IP
wireless). Therefore I use the class TCPClient to open a connection and do
data exchange.
But when the server is temporarily offline on starting my application then
the TCPClient.Connect method runs in a blocking situation with unlimited (?)
timeout and my application is frozen at this time.
What can I do to avoid this?
I tried to use a kind of ping but this command is not available in the
compact framework 1.1. I can not find a property of TCPClient to influence
the blocking mode or connection request timeout.
Thanks for any useful help !!!!!
my mobile application for pocket PC must communicate to a server (TCP/IP
wireless). Therefore I use the class TCPClient to open a connection and do
data exchange.
But when the server is temporarily offline on starting my application then
the TCPClient.Connect method runs in a blocking situation with unlimited (?)
timeout and my application is frozen at this time.
What can I do to avoid this?
I tried to use a kind of ping but this command is not available in the
compact framework 1.1. I can not find a property of TCPClient to influence
the blocking mode or connection request timeout.
Thanks for any useful help !!!!!