[SailfishDevel] Long term TCP connection

george b scooterschorschi at gmail.com
Tue Jan 17 18:55:42 UTC 2017


Hi

My xmpp client [1] makes progress and works very well. But I have problems
with connection drops after about half an hour of device inactivity. I
tried to send xmpp pings to the server in regular intervalls to keep the
connection on. Then I tried to set the keepalive flag on the tcp socket.
Nothing seems to help with this issue.

In a signal client I developed, there was the backend written in go, which
uses websockets as protocol. Using this, there wasn't such drops in the
connection.

Any suggestions what I can try to get the pure TCP connection stable?

Bye
Georg

[1] https://github.com/geobra/harbour-shmoose
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.sailfishos.org/pipermail/devel/attachments/20170117/caac19be/attachment.html>


More information about the Devel mailing list