18 #ifndef _PAL_PLAT_SOCKET_H 19 #define _PAL_PLAT_SOCKET_H 143 uint8_t palSocketStatus[PAL_NET_SOCKET_SELECT_MAX_SOCKETS], uint32_t * numberOfSocketsSet);
146 #if PAL_NET_TCP_AND_TLS_SUPPORT // functionality below supported only in case TCP is supported. 192 #endif //PAL_NET_TCP_AND_TLS_SUPPORT 195 #if PAL_NET_ASYNCHRONOUS_SOCKET_API 208 #if PAL_NET_DNS_SUPPORT 222 #endif //_PAL_PLAT_SOCKET_H
palStatus_t pal_plat_getNumberOfNetInterfaces(uint32_t *numInterfaces)
Definition: pal_plat_network.cpp:458
uint32_t palSocketLength_t
Definition: pal_network.h:32
palStatus_t pal_plat_getSocketOptions(palSocket_t socket, palSocketOptionName_t optionName, void *optionValue, palSocketLength_t *optionLength)
Definition: pal_plat_network.cpp:301
void * palSocket_t
Definition: pal_network.h:33
palStatus_t pal_plat_socketMiniSelect(const palSocket_t socketsToCheck[PAL_NET_SOCKET_SELECT_MAX_SOCKETS], uint32_t numberOfSockets, pal_timeVal_t *timeout, uint8_t palSocketStatus[PAL_NET_SOCKET_SELECT_MAX_SOCKETS], uint32_t *numberOfSocketsSet)
Definition: pal_plat_network.cpp:536
palStatus_t pal_plat_sendTo(palSocket_t socket, const void *buffer, size_t length, const palSocketAddress_t *to, palSocketLength_t toLength, size_t *bytesSent)
Definition: pal_plat_network.cpp:418
palStatus_t pal_plat_setSocketOptions(palSocket_t socket, int optionName, const void *optionValue, palSocketLength_t optionLength)
Definition: pal_plat_network.cpp:332
palStatus_t pal_plat_socketsTerminate(void *context)
Definition: pal_plat_network.cpp:144
palSocketType_t
Definition: pal_network.h:54
palStatus_t pal_plat_RegisterNetworkInterface(void *networkInterfaceContext, uint32_t *interfaceIndex)
Definition: pal_plat_network.cpp:107
Definition: pal_network.h:42
palSocketOptionName_t
Definition: pal_network.h:63
palStatus_t pal_plat_receiveFrom(palSocket_t socket, void *buffer, size_t length, palSocketAddress_t *from, palSocketLength_t *fromLength, size_t *bytesReceived)
Definition: pal_plat_network.cpp:386
palStatus_t pal_plat_close(palSocket_t *socket)
Definition: pal_plat_network.cpp:444
palStatus_t pal_plat_socketsInit(void *context)
Definition: pal_plat_network.cpp:93
#define PAL_NET_SOCKET_SELECT_MAX_SOCKETS
Definition: pal_network.h:216
palStatus_t pal_plat_getNetInterfaceInfo(uint32_t interfaceNum, palNetInterfaceInfo_t *interfaceInfo)
Definition: pal_plat_network.cpp:464
palStatus_t pal_plat_socket(palSocketDomain_t domain, palSocketType_t type, bool nonBlockingSocket, uint32_t interfaceNum, palSocket_t *socket)
Definition: pal_plat_network.cpp:251
palStatus_t pal_plat_bind(palSocket_t socket, palSocketAddress_t *myAddress, palSocketLength_t addressLength)
Definition: pal_plat_network.cpp:366
int32_t palStatus_t
Definition: pal_types.h:31
Definition: pal_network.h:80
palSocketDomain_t
Definition: pal_network.h:48
Definition: pal_network.h:37