We closed this forum 18 June 2010. It has served us well since 2005 as the ALPHA forum did before it from 2002 to 2005. New discussions are ongoing at the new URL http://forum.processing.org. You'll need to sign up and get a new user account. We're sorry about that inconvenience, but we think it's better in the long run. The content on this forum will remain online.
IndexProgramming Questions & HelpOther Libraries › Detecting connection failure of Client class
Page Index Toggle Pages: 1
Detecting connection failure of Client class (Read 630 times)
Detecting connection failure of Client class
Oct 3rd, 2009, 9:30pm
 
I am using Client class of Network library. I want to know that a connection to server is failed. The reference of Client class says:

Quote:
A client connects to a server and sends data back and forth. If anything goes wrong with the connection, for example the host is not there or is listening on a different port, an exception is thrown.


But the exception is not thrown. It seems that throwing an exception was treated as a bug 751.

So how can I know a connection is failed ?
Page Index Toggle Pages: 1