Broken Pipe?

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

Moderators: Lapo, Bax

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

Broken Pipe?

Postby brendan7 » 25 May 2015, 21:46

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: 19988
Joined: 21 Mar 2005, 09:50
Location: Italy

Re: Broken Pipe?

Postby Lapo » 26 May 2015, 06:56

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

Return to “SFS2X Java / Android API”

Who is online

Users browsing this forum: No registered users and 2 guests