Thread: timeout
View Single Post
  #1 (permalink)  
Old 10-07-2004
nsns nsns is offline
Registered User
 
 
Join Date: Jul 2004
Location: Padova, Italy
Posts: 36
timeout

Hi,

could I ask to clarify how timeouts work.
I wrote a small test in which the client calls a server method (Linux, gcc 3.2.3).
On the client side (implemented via Ice::Application) I set up the timeout of 2 sec.
The server method contains 'sleep(20)' to sleep 20 sec.
When I run the client I do get the Ice::TimeoutException in 2 sec but
after this the program hangs up and doesn't respond even on Ctrl-C during
remaining 18 sec. Is it intended behaviour ?
How can I force the client to exit ?

Thanks, Nikolai
Reply With Quote