ENetClient.PacketAvailable Event
Notifies that a packet is available.
Parameters
- peer
- The peer that has data available. If you passed a custom peer class in the CreateCustomPeer event then you can type cast this value to your custom class type here.
- channelID
- The id of the ENet channel. (First channel is number zero)
- data
- The data as ENetPacket.
Remarks
This event will never fire if no polling is done.
If this event is left blank so that its not bold faced in REAL Studio then it will attempt to use the DataAvailable event instead to deliver the packet.
See Also
ENetClient Class