fabriziocs,

Have you tried varying the "timeout" in your handle call?

cnc_allclibhndl3( "IP ADDRESS", 8193, 10, &h ) --- in this case it's 10 seconds -----

timeout [ in ]

Specify seconds for timeout. If specify 0, timeout process is ignored and the library functions wait infinity.

The best timeout value is different according as system. For example, in case of the hi-speed network system, 10 seconds is sufficient for timeout. But in case of relaying by low-speed telephone line, more than 60 seconds is well for timeout.So you must specify the timeout value after the measurement of your communication time.