I have a multithreaded application that is acting as a printserver. the
printers area connected to the network via IP address using a symbol
clientbridge. There are times that a printer may not be available...if that
is the case the program hangs trying to connect and wont recover on its own
when the situation is resolved.
how can i go about verifying that the connection is available before
actually connecting? or is there someway to specify a timeout period?
I have tried looping and other conditional statements, but i pegged it down
finally to the fact that if it tries to connect and cant open the connection
that thread just hangs....
thanks for you help...
Eric