Tactics: Western Philosophers Vs. Musicians  0.12
A turn-based tactical game combining rules and gameplay elements inspired by Final Fantasy Tactics and the Mayfair Exponential Game System. Unlike most games of this type, motion is in full, grid-less 3D.
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Pages
Classes | Namespaces | Macros | Typedefs | Functions
USocket.h File Reference
#include <sys/types.h>
#include <sys/socket.h>
#include <netinet/in.h>
#include <arpa/inet.h>
#include <errno.h>
#include <stdio.h>

Go to the source code of this file.

Classes

class  OpenSkyNet::Utils::Socket
 

Namespaces

 OpenSkyNet
 
 OpenSkyNet::Utils
 

Macros

#define COPY_LAST_SOCKET_ERROR()   sprintf(_errorBuffer, "%d", errno)
 
#define INVALID_SOCKET   -1
 
#define SOCKET_ERROR   -1
 

Typedefs

typedef int SOCKET
 

Functions

template<class T >
void OpenSkyNet::Utils::serialize (T val_, char *&buffer_, OpenSkyNet::Utils::uint &bufferLen_)
 
template<class T >
OpenSkyNet::Utils::assemble (char *&buffer_, OpenSkyNet::Utils::uint &bufferLen_)
 

Macro Definition Documentation

#define COPY_LAST_SOCKET_ERROR ( )    sprintf(_errorBuffer, "%d", errno)
#define INVALID_SOCKET   -1
#define SOCKET_ERROR   -1

Typedef Documentation

typedef int SOCKET