Broken Pipe?

Post here your questions about the Java client / Android API for SFS2X

Moderators: Lapo, Bax

Post Reply
brendan7
Posts: 43
Joined: 10 Feb 2014, 17:40

Broken Pipe?

Post by brendan7 »

After the latest client sdk update (v1.6.0) I am having some problems with resuming a connection after it is lost.

The application goes through the process of registerring a new SFSClient and event listeners after the connection is lost. Then, as it is trying to reconnect, I am seeing this error a lot:

W/System.err? 10464 [Thread-910] ERROR sfs2x.client.core.sockets.TCPSocketLayer - TCPSocketLayer: Socket error: sendto failed: EPIPE (Broken pipe)

Any ideas what would cause a broken pipe?

thanks,
-B
User avatar
Lapo
Site Admin
Posts: 23438
Joined: 21 Mar 2005, 09:50
Location: Italy

Re: Broken Pipe?

Post by Lapo »

Hi,
by reconnection do you mean using our HRC reconnection system, or simply starting a new connection manually when you detect a disconnection?
If it's the latter can you describe how your reconnection logic works?

"Broken pipe" is usually a reference to a generic socket error.

thanks
Lapo
--
gotoAndPlay()
...addicted to flash games
Post Reply