1#ifndef ULT_NETWORK_NETWORK_H_INCLUDED
2#define ULT_NETWORK_NETWORK_H_INCLUDED
37 bool Host(
int port,
int numPending);
92 bool AcceptConnection();
void DisconnectClient(int index)
Definition Network.cpp:70
void Process()
Definition Network.cpp:103
Network(int maxConnections)
Definition Network.cpp:6
void Disconnect()
Definition Network.cpp:47
void SetCallbackFunction(NetCallback funcPtr)
Definition Network.h:73
NetType GetNetworkType() const
Definition Network.h:81
int GetMaxConnections() const
Definition Network.h:77
int GetTotalConnections() const
Definition Network.h:79
~Network()
Definition Network.cpp:20
NetResult Send(Packet &packet)
Definition Network.cpp:86
bool Host(int port, int numPending)
Definition Network.cpp:28
bool IsConnected() const
Definition Network.h:75
NetResult Connect(const char *ipAddr, int port)
Definition Network.cpp:37
void(* NetCallback)(int u, int y, char *d, int s)
Definition Types.h:77
NetType
Definition Types.h:50
NetResult
Definition Types.h:58