Ark Server API (ASE) - Wiki
Loading...
Searching...
No Matches
SocketDefs.h File Reference
#include <vector>
+ Include dependency graph for SocketDefs.h:
+ This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Classes

struct  Poco::Net::AddressFamily
 

Namespaces

namespace  Poco
 
namespace  Poco::Net
 

Macros

#define POCO_ENOERR   0
 
#define POCO_HAVE_SALEN   1
 
#define POCO_BROKEN_TIMEOUTS   1
 
#define poco_set_sa_len(pSA, len)   (pSA)->sa_len = (len)
 
#define poco_set_sin_len(pSA)   (pSA)->sin_len = sizeof(struct sockaddr_in)
 
#define INADDR_NONE   0xffffffff
 
#define INADDR_ANY   0x00000000
 
#define INADDR_BROADCAST   0xffffffff
 
#define INADDR_LOOPBACK   0x7f000001
 
#define INADDR_UNSPEC_GROUP   0xe0000000
 
#define INADDR_ALLHOSTS_GROUP   0xe0000001
 
#define INADDR_ALLRTRS_GROUP   0xe0000002
 
#define INADDR_MAX_LOCAL_GROUP   0xe00000ff
 
#define poco_ntoh_16(x)    ((((x) >> 8) & 0x00ff) | (((x) << 8) & 0xff00))
 
#define poco_ntoh_32(x)    ((((x) >> 24) & 0x000000ff) | (((x) >> 8) & 0x0000ff00) | (((x) << 8) & 0x00ff0000) | (((x) << 24) & 0xff000000))
 
#define poco_hton_16(x)   poco_ntoh_16(x)
 
#define poco_hton_32(x)   poco_ntoh_32(x)
 
#define s6_addr16   __u6_addr.__u6_addr16
 

Typedefs

typedef std::vector< SocketBuf > Poco::Net::SocketBufVec
 

Macro Definition Documentation

◆ INADDR_ALLHOSTS_GROUP

#define INADDR_ALLHOSTS_GROUP   0xe0000001

Definition at line 311 of file SocketDefs.h.

◆ INADDR_ALLRTRS_GROUP

#define INADDR_ALLRTRS_GROUP   0xe0000002

Definition at line 315 of file SocketDefs.h.

◆ INADDR_ANY

#define INADDR_ANY   0x00000000

Definition at line 295 of file SocketDefs.h.

◆ INADDR_BROADCAST

#define INADDR_BROADCAST   0xffffffff

Definition at line 299 of file SocketDefs.h.

◆ INADDR_LOOPBACK

#define INADDR_LOOPBACK   0x7f000001

Definition at line 303 of file SocketDefs.h.

◆ INADDR_MAX_LOCAL_GROUP

#define INADDR_MAX_LOCAL_GROUP   0xe00000ff

Definition at line 319 of file SocketDefs.h.

◆ INADDR_NONE

#define INADDR_NONE   0xffffffff

Definition at line 291 of file SocketDefs.h.

◆ INADDR_UNSPEC_GROUP

#define INADDR_UNSPEC_GROUP   0xe0000000

Definition at line 307 of file SocketDefs.h.

◆ POCO_BROKEN_TIMEOUTS

#define POCO_BROKEN_TIMEOUTS   1

Definition at line 244 of file SocketDefs.h.

◆ POCO_ENOERR

#define POCO_ENOERR   0

Definition at line 24 of file SocketDefs.h.

◆ POCO_HAVE_SALEN

#define POCO_HAVE_SALEN   1

Definition at line 234 of file SocketDefs.h.

◆ poco_hton_16

#define poco_hton_16 ( x)    poco_ntoh_16(x)

Definition at line 331 of file SocketDefs.h.

◆ poco_hton_32

#define poco_hton_32 ( x)    poco_ntoh_32(x)

Definition at line 332 of file SocketDefs.h.

◆ poco_ntoh_16

#define poco_ntoh_16 ( x)     ((((x) >> 8) & 0x00ff) | (((x) << 8) & 0xff00))

Definition at line 326 of file SocketDefs.h.

◆ poco_ntoh_32

#define poco_ntoh_32 ( x)     ((((x) >> 24) & 0x000000ff) | (((x) >> 8) & 0x0000ff00) | (((x) << 8) & 0x00ff0000) | (((x) << 24) & 0xff000000))

Definition at line 328 of file SocketDefs.h.

◆ poco_set_sa_len

#define poco_set_sa_len ( pSA,
len )   (pSA)->sa_len = (len)

Definition at line 274 of file SocketDefs.h.

◆ poco_set_sin_len

#define poco_set_sin_len ( pSA)    (pSA)->sin_len = sizeof(struct sockaddr_in)

Definition at line 275 of file SocketDefs.h.

◆ s6_addr16

#define s6_addr16   __u6_addr.__u6_addr16

Definition at line 339 of file SocketDefs.h.