network integrity (was Re: [[Standards-JIG] jep-0025])

Peter G. Millard me at pgmillard.com
Sun Mar 28 15:11:46 UTC 2004


maqi at jabberstudio.org wrote:
> I forgot to mention why this is important even for TCP: Currently, if a
> c2s connection breaks, the user's presence stays "online" for some
> time. Every message sent to the user in this time gets lost.

This is why it's important for c2s connection managers to send "keep-alive"
packets every few minutes. So a "write" to the socket is attempted, and the
dropped connection will be detected sooner. This greatly minimizes the
amount of time a bad connection exists in this state.

pgm.




More information about the Standards mailing list