ReactOS 0.4.16-dev-340-g0540c21
Collaboration diagram for Netconn:

Macros

#define LWIP_NETCONN   1
 
#define LWIP_TCPIP_TIMEOUT   0
 
#define LWIP_NETCONN_SEM_PER_THREAD   0
 
#define LWIP_NETCONN_FULLDUPLEX   0
 

Detailed Description

Macro Definition Documentation

◆ LWIP_NETCONN

#define LWIP_NETCONN   1

LWIP_NETCONN==1: Enable Netconn API (require to use api_lib.c)

Definition at line 1948 of file opt.h.

◆ LWIP_NETCONN_FULLDUPLEX

#define LWIP_NETCONN_FULLDUPLEX   0

LWIP_NETCONN_FULLDUPLEX==1: Enable code that allows reading from one thread, writing from a 2nd thread and closing from a 3rd thread at the same time. LWIP_NETCONN_SEM_PER_THREAD==1 is required to use one socket/netconn from multiple threads at once!

Definition at line 1978 of file opt.h.

◆ LWIP_NETCONN_SEM_PER_THREAD

#define LWIP_NETCONN_SEM_PER_THREAD   0

LWIP_NETCONN_SEM_PER_THREAD==1: Use one (thread-local) semaphore per thread calling socket/netconn functions instead of allocating one semaphore per netconn (and per select etc.) ATTENTION: a thread-local semaphore for API calls is needed:

Definition at line 1969 of file opt.h.

◆ LWIP_TCPIP_TIMEOUT

#define LWIP_TCPIP_TIMEOUT   0

LWIP_TCPIP_TIMEOUT==1: Enable tcpip_timeout/tcpip_untimeout to create timers running in tcpip_thread from another thread.

Definition at line 1955 of file opt.h.