Planeshift
netpacket.h File Reference
#include <csutil/csendian.h>
#include <csutil/refcount.h>
#include <csutil/hash.h>
#include "net/packing.h"
#include "net/message.h"

Go to the source code of this file.

Classes

class  csComparator< csRef< psNetPacketEntry >, csRef< psNetPacketEntry > >
 
class  csHashComputer< PacketKey >
 
class  PacketKey
 
struct  psNetPacket
 psNetPacket gives the networking code the context it needs, and all of this info goes out on the wire. More...
 
class  psNetPacketEntry
 

Enumerations

enum  {
  PKTSIZE_ACK = 0, PKTMINRTO = 250, PKTMAXRTO = 60000, PKTINITRTO = 3000,
  FLAG_MULTIPACKET = 0x02, MAXPACKETSIZE = 1400
}