Logo Search packages:      
Sourcecode: egoboo version File versions  Download package

void enet_host_bandwidth_limit ( ENetHost host,
enet_uint32  incomingBandwidth,
enet_uint32  outgoingBandwidth 

Adjusts the bandwidth limits of a host.

host host to adjust
incomingBandwidth new incoming bandwidth
outgoingBandwidth new outgoing bandwidth
the incoming and outgoing bandwidth parameters are identical in function to those specified in enet_host_create().

Definition at line 216 of file host.c.

    host -> incomingBandwidth = incomingBandwidth;
    host -> outgoingBandwidth = outgoingBandwidth;
    host -> recalculateBandwidthLimits = 1;

Generated by  Doxygen 1.6.0   Back to index