Kenji Arai / mbed-os_TYBLE16

Dependents:   TYBLE16_simple_data_logger TYBLE16_MP3_Air

Embed: (wiki syntax)

« Back to documentation index

linger Struct Reference

linger Struct Reference
[Fnet_socket]

This structure is used for the SO_LINGER option. More...

#include <fnet_socket.h>

Data Fields

fnet_bool_t l_onoff
 Determines, whether the option will be turned on FNET_TRUE, or off FNET_FALSE.
fnet_uint16_t l_linger
 Specifies the amount of time (in seconds) to wait when the connection is closed and unsent data is discarded.

Detailed Description

This structure is used for the SO_LINGER option.

Definition at line 226 of file sockets.h.


Field Documentation

fnet_uint16_t l_linger

Specifies the amount of time (in seconds) to wait when the connection is closed and unsent data is discarded.

If l_onoff is 0, the l_linger value is ignored and the stack continues to try to send the data as usually.

Definition at line 674 of file fnet_socket.h.

fnet_bool_t l_onoff

Determines, whether the option will be turned on FNET_TRUE, or off FNET_FALSE.

Definition at line 671 of file fnet_socket.h.