Cross-posting from the libsecondlife-commits list:
NetworkManager:
* OnSimDisconnected and OnDisconnected events added
* The Disconnect function is working
* Shutdown() was added to kill the network layer
* Added documentation for the Packet class
* Added a TickCount to Packet for tracking ACK timeouts
* Added a LastReceivedTime to Simulator for tracking disconnects
* Optimized the NeedAck hashtable
* Fixed a potential deadlock during Logout and removed a dodgy goto statement
* Removed the try/catch from Logout to catch bugs
* Added a not-logged-in catch in Logout
* Removed the 1-second sleep from Logout
* Connect returns the connected Simulator object or null now
ObjectManager:
* OnAvatarMoved and OnPrimMoved events are fired now
Prims:
* Minor function clarifications
Avatar:
* Uses the new Connect function for teleporting
Packet:
* Added documentation
* HeaderLength is private now
* Removed the Field() function
* Miscellaneous cleanups
---
OnSimDisconnected fires when a sim other than the current sim
disconnects (the equivalent of a neighbor sim going red on the mini-map
in the official client) and OnDisconnected fires when the current sim
connection is dropped and you are logged off the grid. Both events come
with an enumeration letting the client app know whether it was due to a
client request, server request, or network timeout. If the
OnDisconnected event was server requested (KickUser) it will also come
with a string message explaining why you were disconnected. If you find
any bugs let me know. Does anyone know if CloseCircuit is ever sent from
sim->viewer?
John Hurliman
_______________________________________________
libsecondlife-dev mailing list
libsecondlife-dev@gna.org
https://mail.gna.org/listinfo/libsecondlife-dev