On 20 Aug 2006, at 20:00, peter royal wrote:
On Aug 8, 2006, at 3:20 PM, Frederic Soulier wrote:
When a mobile phone is used as a client and is connected to the
SocketAcceptor on the server we can send some messages and all seems
fine.
If the battery of the phone is removed (hence terminating the client
application), we have a process that scans for sessions without
activity
for more than 30 seconds. If such a session is found we call:
ioSession.close().join();
Is it necessary to join that future? If you're closing a dead
connection, can't/shouldn't the close occur in the background?
Does that help at all?
Yes and no :)
From more investigation we've made it seems the behaviour is
different when running in Windows or Linux when lingering is setup.
(see more of my postings)
We're trying to solve the issue but I was concerned by the difference
in behaviour from one platform to the other.
--
Frederic P. Soulier
OpenPGP key available on http://pgpkeys.mit.edu/
1024D/BA6700ED 49A6 8E8E 4230 8D41 1ADE B649 3203 1DD2 BA67 00ED