[EMAIL PROTECTED] wrote:
That sounds like a good plan.  This probably will not catch server crashes,
however, as no KickUser packet would be sent.  As UDP is connectionless, the
only way to detect such a crash is to issue a ping style packet every so
often, or listen for such ping packets if the server already sends them.  Do
we have any information on the method the official client uses to detect a
sudden server disconnection?

-Sam

The only way to do it I believe is with a timer. If you haven't got a ping request in a certain length of time (or maybe just any packets in a certain length of time) assume you are disconnected and fire the callback.

John

_______________________________________________
libsecondlife-dev mailing list
libsecondlife-dev@gna.org
https://mail.gna.org/listinfo/libsecondlife-dev

Reply via email to