ENet Xojo plugin

ENetServer.Disconnected Event

This event is fired when a peer is disconnected.

Disconnected(
   peer as ENetPeer,
   data as UInt32)

Parameters

peer
The peer that is disconnecting. If you passed a custom peer class in the CreateCustomPeer event then you can type cast this value to your custom class type here.
data
Custom data that was associated with the disconnection

Remarks

See Also

ENetServer Class