The disconnect event is triggered on the server when the client disconnected normal or because of a connection timeout. If you want to distinguish between a "safe" disconnect and a timeout, send an event to the server before you disconnect.


ANet - A stable and secure network plugin with multi-zone, unlimited players, voip, server-list features,... (for A7/A8)!
get free version