ENet Xojo plugin

ENetClient.DataAvailable Event

This event is fired when packet is available if and only if there was no PacketAvailable event.

DataAvailable(
   peer as ENetPeer,
   channelID as Integer,
   data as String)

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 packet represented as a string with no encoding. (Binary data as far as REAL Studio is concerned)

Remarks

See Also

ENetClient Class