OpenClonk
C4NetIO.h File Reference
#include "lib/StdCompiler.h"
#include "platform/StdScheduler.h"
#include "platform/StdSync.h"
#include <arpa/inet.h>
#include <netinet/in.h>
Include dependency graph for C4NetIO.h:
This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Classes

class  C4NetIO
 
struct  C4NetIO::HostAddress
 
struct  C4NetIO::EndpointAddress
 
class  C4NetIO::EndpointAddress::EndpointAddressPtr
 
class  C4NetIO::CBClass
 
class  C4NetIO::CBProxy< T >
 
class  C4NetIOPacket
 
class  C4NetIOTCP
 
class  C4NetIOTCP::Socket
 
class  C4NetIOTCP::Peer
 
struct  C4NetIOTCP::ConnectWait
 
class  C4NetIOSimpleUDP
 
class  C4NetIOUDP
 
class  C4NetIOUDP::Packet
 
class  C4NetIOUDP::PacketList
 
class  C4NetIOUDP::Peer
 
class  C4NetIOMan
 
class  WinSockHolder
 

Macros

#define SOCKET   int
 
#define INVALID_SOCKET   (-1)
 
#define SOCK_CLOEXEC   0
 
#define NETIO_CREATE_CALLBACK_PROXY(ForClass, ProxyName)
 

Class Documentation

◆ C4NetIOTCP::ConnectWait

struct C4NetIOTCP::ConnectWait

Definition at line 461 of file C4NetIO.h.

Collaboration diagram for C4NetIOTCP::ConnectWait:
[legend]
Class Members
addr_t addr
ConnectWait * Next
SOCKET sock

Macro Definition Documentation

◆ INVALID_SOCKET

#define INVALID_SOCKET   (-1)

Definition at line 36 of file C4NetIO.h.

◆ NETIO_CREATE_CALLBACK_PROXY

#define NETIO_CREATE_CALLBACK_PROXY (   ForClass,
  ProxyName 
)
Value:
friend class C4NetIO::CBProxy<ForClass>; \
C4NetIO::CBProxy<ForClass> ProxyName;

Definition at line 248 of file C4NetIO.h.

◆ SOCK_CLOEXEC

#define SOCK_CLOEXEC   0

Definition at line 50 of file C4NetIO.h.

◆ SOCKET

#define SOCKET   int

Definition at line 35 of file C4NetIO.h.