Hi, I found the mina connection sometimes keeps valid, but sometimes goes invalid after the computer resumes from standby mode. My test case is like this: OS:Microsoft Windows XP,Professional,Version 2002,Service Pack 2 Mina version:2.0.0-M1 Step: 1)My client program creates a connection to a server by using SocketConnector. 2)The computer on which my client program runs enters standby mode and the active connections are disconnected. 3)Bring the computer out of standby mode after a time. I found the connection would be valid or invalid, according to the standby time. If standby time is less than a period time(about 10 minutes), the connection still keeps valid and can send /receive datas. Else, the connection goes invalid and gets the fllowing exception when it attempt to send datas. java.io.IOException: An existing connection was forcibly closed by the remote host.
I want to learn: 1)How to calculate the time limit (about 10 minutes in my case) after which the connection become invalid in windows standby mode? 2)Could I set this time limit? Thanks, Li _________________________________________________________________ 秋本番!連休たくさんのこの秋、みんなのオススメ週末旅行をチェックしよう http://clk.atdmt.com/GBL/go/112813570/direct/01/
