Hi,
While testing the idle disconnection on the client side (Java client), I receive 2 CONNECTION_LOST event:
CONNECTION_LOST: idle
CONNECTION_LOST: unknown
Is it the intended behavior ?
Duplicate CONNECTION_LOST event
Re: Duplicate CONNECTION_LOST event
Are you sure you are using the latest API available?
http://www.smartfoxserver.com/download/sfs2x#p=updates
http://www.smartfoxserver.com/download/sfs2x#p=updates
Re: Duplicate CONNECTION_LOST event
Hi,
I've upgraded the client api version to 1.0.1 and it seems firing only idle CONNECTION_LOST event. But when i shutdown the server, client won't fire anything. Here is the log on the client side:
3053 [New I/O client worker #1-1] ERROR sfs2x.client.core.sockets.TCPSocketLayer - TCPSocketLayer: Socket error: An existing connection was forcibly closed by the remote host
3053 [New I/O client worker #1-1] INFO sfs2x.client.core.EventDispatcher - Dispatching event OnError to 1 listeners
3053 [New I/O client worker #1-1] INFO sfs2x.client.core.EventDispatcher - Dispatching event ioError to 1 listeners
3053 [New I/O client worker #1-1] INFO sfs2x.client.core.EventDispatcher - Dispatching event OnDisconnect to 1 listeners
I've upgraded the client api version to 1.0.1 and it seems firing only idle CONNECTION_LOST event. But when i shutdown the server, client won't fire anything. Here is the log on the client side:
3053 [New I/O client worker #1-1] ERROR sfs2x.client.core.sockets.TCPSocketLayer - TCPSocketLayer: Socket error: An existing connection was forcibly closed by the remote host
3053 [New I/O client worker #1-1] INFO sfs2x.client.core.EventDispatcher - Dispatching event OnError to 1 listeners
3053 [New I/O client worker #1-1] INFO sfs2x.client.core.EventDispatcher - Dispatching event ioError to 1 listeners
3053 [New I/O client worker #1-1] INFO sfs2x.client.core.EventDispatcher - Dispatching event OnDisconnect to 1 listeners
Re: Duplicate CONNECTION_LOST event
Can anyone confirm this CONNECT_LOST event being swallowed with Java API 1.0.1 ? It seems to be in the fixed but it still there.
Thanks.
PS: This should be move the Client discussion.
Thanks.
PS: This should be move the Client discussion.
Who is online
Users browsing this forum: No registered users and 87 guests