Planeshift
Classes | Defines | Typedefs | Variables

netbase.h File Reference

#include "net/pstypes.h"
#include "net/netinfos.h"
#include "net/netpacket.h"
#include "util/genrefqueue.h"
#include <csutil/ref.h>
#include <csutil/weakref.h>
#include <csutil/weakreferenced.h>
#include <csutil/refcount.h>
#include <csutil/strset.h>
#include <csutil/array.h>
#include "netprofile.h"

Go to the source code of this file.

Classes

struct  NetBase::AccessPointers
 Struct used by MessageCracker and ToString to distribute a number of access pointers. More...
class  NetBase::Connection
 This class holds data for a connection. More...
struct  NetBase::LogMsgFilterSetting_t
class  NetBase
 This class acts as a base for client/server net classes. More...
class  NetPacketQueueRefCount
struct  PublishDestination
struct  NetBase::SendQueueStats_t
 Moving averages. More...

Defines

#define MAXCLIENTQUEUESIZE   5000
#define MAXPACKETHISTORY   1009
#define MAXQUEUESIZE   20000
#define NETAVGCOUNT   400
#define NUM_BROADCAST   0xffffffff
#define RESENDAVGCOUNT   200
#define SENDTO_MAX_RETRIES   200
#define SENDTO_SELECT_TIMEOUT_SEC   0
#define SENDTO_SELECT_TIMEOUT_USEC   10000
#define WSAEWOULDBLOCK   EAGAIN

Typedefs

typedef GenericRefQueue< MsgEntryMsgQueue
typedef GenericRefQueue
< psNetPacketEntry
NetPacketQueue

Variables

const unsigned int WINDOW_MAX_SIZE = 65536