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

void enet_host_flush ( ENetHost host  ) 

Sends any queued packets on the host specified to its designated peers.

Parameters:
host host to flush
Remarks:
this function need only be used in circumstances where one wishes to send queued packets earlier than in a call to enet_host_service().

Definition at line 1138 of file protocol.c.

References enet_time_get().

Referenced by enet_peer_disconnect(), and enet_peer_disconnect_now().

{
    timeCurrent = enet_time_get ();

    enet_protocol_send_outgoing_commands (host, NULL, 0);
}


Generated by  Doxygen 1.6.0   Back to index