1#ifndef ULT_NETWORK_SOCKET_H_INCLUDED
2#define ULT_NETWORK_SOCKET_H_INCLUDED
#define INVALID_SOCKET
Definition Types.h:22
NetResult SendData(Packet &packet)
Definition Socket.cpp:101
~Socket()
Definition Socket.cpp:11
bool SetAsServer(int port, int numPending)
Definition Socket.cpp:16
bool operator==(const Socket &rhs)
Definition Socket.h:62
Socket()
Definition Socket.cpp:7
bool ConnectToServer(const char *ipAddr, int port)
Definition Socket.cpp:44
void Disconnect()
Definition Socket.cpp:154
bool IsConnected() const
Definition Socket.h:59
ULT_SOCKET GetSocket() const
Definition Socket.h:67
NetResult ReceiveData(Packet &packet, int *bytesRead)
Definition Socket.cpp:121
void operator=(const Socket &rhs)
Definition Socket.h:64
bool AcceptConnection(Socket &client)
Definition Socket.cpp:87
int ULT_SOCKET
Definition Types.h:29
NetResult
Definition Types.h:58