ANNA Suite  2020b
Multipurpose development suite for Telco applications
Classes | Namespaces | Macros
Socket.hpp File Reference
#include <unistd.h>
#include <sys/socket.h>
#include <sys/un.h>
#include <anna/config/defines.hpp>
#include <anna/core/mt/Mutex.hpp>
#include <anna/comm/INetAddress.hpp>
#include <anna/comm/AccessPoint.hpp>
Include dependency graph for Socket.hpp:
This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Classes

class  anna::comm::Socket
 
struct  anna::comm::Socket::Domain
 
struct  anna::comm::Socket::Type
 
struct  anna::comm::Socket::Notify
 

Namespaces

 anna
 
 anna::xml
 
 anna::comm
 

Macros

#define anna_socket_assert(a, b)
 
#define anna_comm_socket_check(a, b)
 

Macro Definition Documentation

◆ anna_comm_socket_check

#define anna_comm_socket_check (   a,
 
)
Value:
if ((a) < 0) { \
std::string msg (asString ()); \
msg += " | "; \
msg += b; \
throw RuntimeException (msg, errno, ANNA_FILE_LOCATION); \
}
#define ANNA_FILE_LOCATION
Definition: defines.hpp:23

◆ anna_socket_assert

#define anna_socket_assert (   a,
 
)
Value:
if ((a)) { \
std::string msg (asString ()); \
msg += " | "; \
msg += b; \
throw RuntimeException (msg, __FILE__, __LINE__); \
}