ENet Xojo plugin

ENetPeer.PingInterval Method

Sets the interval at which pings will be sent to a peer.

PingInterval(
   pingInterval as UInt32)

Parameters

pingInterval
The interval at which to send pings, if set to zero then default ping interval value will be used.

Remarks

Pings are used both to monitor the liveness of the connection and also to dynamically adjust the throttle during periods of low traffic so that the throttle has reasonable responsiveness during traffic spikes.

See Also

ENetPeer Class