Le 11/13/12 4:04 PM, Wang, Susan a écrit : > Anyone has ideas why clients connected automatically without mina server > after 20 or 30 minute?
ust wondering if you might not have a port activated by some other project that may collide with the two ports you are trying to connect ? If for some reason or another you have a program trying to open a random port above 1024 (this can be done with new ServerSocket(0), which picks a random port), and if it open one of those two ports, your client application might actually create a session, and you will think it's connected. <Otherwise, I have your code runnig for more than 30 minutes, so far, no connection has happened. -- Regards, Cordialement, Emmanuel Lécharny www.iktek.com