TCP_OPTION_LINGER_DATA Structure
C
typedef struct {
bool lingerEnable;
bool gracefulEnable;
uint16_t lingerTmo;
} TCP_OPTION_LINGER_DATA;
Description
Structure: TCP_OPTION_LINGER_DATA.
This structure defines socket linger options.
Members
Members | Description |
---|---|
lingerEnable | Enable/disable linger; enabled by default for any socket. |
gracefulEnable | Enable/disable graceful close; enabled by default for any socket. |
lingerTmo | Linger timeout in seconds (when enabled). This option is not supported yet. |