protocol.c File Reference


Detailed Description

#include <stdio.h>
#include <string.h>
#include "enet/utility.h"
#include "enet/time.h"
#include "enet/enet.h"

Defines

#define ENET_BUILDING_LIB   1

Functions

size_t enet_protocol_command_size (enet_uint8 commandNumber)
void enet_host_flush (ENetHost *host)
 Sends any queued packets on the host specified to its designated peers.
int enet_host_service (ENetHost *host, ENetEvent *event, enet_uint32 timeout)
 Waits for events on the host specified and shuttles packets between the host and its peers.


Generated on Wed Jun 6 14:33:50 2007 for enet by  doxygen 1.5.1