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