Hi,

We are using MINA 0.8.1 API for reading and sending data over TCP socket layer. 
We want to "cycle" the server socket (i.e. close then reconnect) if it does not 
receive any packet for a period of 40 seconds. To achieve this we are using 
unbind() and bind() methods of "SimpleServiceRegistry" class. But the program 
hangs during the unbind() operation.

Can you please tell us as how can we achieve this functionality of socket 
"cycling" (i.e. close then reconnect) using MINA 0.8.1 API ? 

Thanks and Regards,
Rajesh

DISCLAIMER:"The information contained in this message and the attachments (if 
any) may be privileged and confidential and protected from disclosure. You are 
hereby notified that any unauthorized use, dissemination, distribution or 
copying of this communication, review, retransmission, or taking of any action 
based upon this information, by persons or entities other than the intended 
recipient, is strictly prohibited. If you are not the intended recipient or an 
employee or agent responsible for delivering this message, and have received 
this communication in error, please notify us immediately by replying to the 
message and kindly delete the original message, attachments, if any, and all 
its copies from your computer system. Thank you for your cooperation."

Reply via email to