S2OPC OPCUA Toolkit
Data Structures | Macros
p_sopc_sockets.h File Reference
#include "sopc_raw_sockets.h"
#include <lwip/inet.h>
#include <lwip/netdb.h>
#include <lwip/sockets.h>

Go to the source code of this file.

Data Structures

struct  SOPC_Socket_Impl
 Socket base type. More...
 
struct  SOPC_Socket_AddressInfo
 Socket addressing information for listening or connecting operation type. More...
 
struct  SOPC_Socket_Address
 Socket address information on a connected socket. More...
 
struct  SOPC_SocketSet
 Set of sockets type. More...
 

Macros

#define SOPC_PIKEOS_INVALID_SOCKET_ID   (-1)
 
#define SOPC_MAX_PENDING_CONNECTIONS   (2)
 
#define SOPC_PIKEOS_SOCKET_IS_VALID(pSock)   (SOPC_INVALID_SOCKET != (pSock) && SOPC_PIKEOS_INVALID_SOCKET_ID != (pSock)->sock)
 

Macro Definition Documentation

◆ SOPC_PIKEOS_INVALID_SOCKET_ID

#define SOPC_PIKEOS_INVALID_SOCKET_ID   (-1)

◆ SOPC_MAX_PENDING_CONNECTIONS

#define SOPC_MAX_PENDING_CONNECTIONS   (2)

◆ SOPC_PIKEOS_SOCKET_IS_VALID

#define SOPC_PIKEOS_SOCKET_IS_VALID (   pSock)    (SOPC_INVALID_SOCKET != (pSock) && SOPC_PIKEOS_INVALID_SOCKET_ID != (pSock)->sock)