40 #ifndef _ServerConnection_H__ 41 #define _ServerConnection_H__ 54 void setBindAddress(
const std::string& bindAddress );
55 void setPort(
unsigned int port );
59 void addPacket(
ENetPacket *packet,
unsigned int ID, uint8_t channelID);
60 void disconnectClient(
int clientID);
64 void disconnectClients();
Portable internet address structure.
Definition: enet.h:82
Shared library macros, enums, constants and forward declarations for the network library ...
Definition: ServerConnection.h:49
::std::string string
Definition: gtest-port.h:756
ENetAddress * bindAddress_
Definition: ServerConnection.h:67
bool bListening_
Definition: ServerConnection.h:68
Die Wagnis Klasse hat die folgenden Aufgaben:
Definition: ApplicationPaths.cc:66
#define _NetworkExport
Definition: NetworkPrereqs.h:59
Definition: Connection.h:92
ENet packet structure.
Definition: enet.h:147