Go to the documentation of this file.
20 #ifndef SOPC_P_SOCKETS_H_
21 #define SOPC_P_SOCKETS_H_
25 #include <lwip/inet.h>
26 #include <lwip/netdb.h>
27 #include <lwip/sockets.h>
29 #define SOPC_PIKEOS_INVALID_SOCKET_ID (-1)
30 #define SOPC_MAX_PENDING_CONNECTIONS (2)
69 #define SOPC_PIKEOS_SOCKET_IS_VALID(pSock) \
70 (SOPC_INVALID_SOCKET != (pSock) && SOPC_PIKEOS_INVALID_SOCKET_ID != (pSock)->sock)
72 #endif // SOPC_P_SOCKETS_H_
fd_set set
Definition: p_sopc_sockets.h:65
A platform independent API to use sockets.
int fdmax
Definition: p_sopc_sockets.h:64
struct ip_mreq * membership
Definition: p_sopc_sockets.h:38
Socket base type.
Definition: p_sopc_sockets.h:36
Socket address information on a connected socket.
Definition: p_sopc_sockets.h:55
uint8_t rfu[2]
Definition: p_sopc_sockets.h:66
struct addrinfo addrInfo
Definition: p_sopc_sockets.h:47
Set of sockets type.
Definition: p_sopc_sockets.h:63
Socket addressing information for listening or connecting operation type.
Definition: p_sopc_sockets.h:46
int sock
Definition: p_sopc_sockets.h:37
struct addrinfo address
Definition: p_sopc_sockets.h:56