S2OPC OPCUA Toolkit
Macros | Typedefs
p_sopc_sockets.h File Reference
#include <winsock2.h>
#include <ws2tcpip.h>

Go to the source code of this file.

Macros

#define MAX_SEND_ATTEMPTS   20
 
#define SLEEP_NEXT_SEND_ATTEMP   50
 
#define SOPC_INVALID_SOCKET   INVALID_SOCKET
 

Typedefs

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

Macro Definition Documentation

◆ MAX_SEND_ATTEMPTS

#define MAX_SEND_ATTEMPTS   20

◆ SLEEP_NEXT_SEND_ATTEMP

#define SLEEP_NEXT_SEND_ATTEMP   50

◆ SOPC_INVALID_SOCKET

#define SOPC_INVALID_SOCKET   INVALID_SOCKET

Typedef Documentation

◆ Socket

typedef SOCKET Socket

Socket base type.

◆ SOPC_Socket_AddressInfo

typedef struct addrinfo SOPC_Socket_AddressInfo

Socket addressing information for listening or connecting operation type.

◆ SOPC_Socket_Address

typedef struct addrinfo SOPC_Socket_Address

Socket address information on a connected socket.

◆ SOPC_SocketSet

typedef fd_set SOPC_SocketSet

Set of sockets type.