cocos2d-x  3.0-beta2
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Friends Macros Groups Pages
usocket.h File Reference
#include <errno.h>
#include <unistd.h>
#include <fcntl.h>
#include <sys/types.h>
#include <sys/socket.h>
#include <sys/time.h>
#include <netdb.h>
#include <signal.h>
#include <netinet/in.h>
#include <arpa/inet.h>
#include <netinet/tcp.h>

Macros

#define SO_REUSEPORT   SO_REUSEADDR
#define SOCKET_INVALID   (-1)

Typedefs

typedef int t_socket
typedef t_socketp_socket
typedef struct sockaddr_storage t_sockaddr_storage

Macro Definition Documentation

#define SO_REUSEPORT   SO_REUSEADDR
#define SOCKET_INVALID   (-1)
var SOCKET_INVALID   (-1)
local SOCKET_INVALID   (-1)

Typedef Documentation

typedef t_socket* p_socket
var p_socket
local p_socket
typedef struct
sockaddr_storage
t_sockaddr_storage
typedef int t_socket
var t_socket
local t_socket