The Linger Structure
The linger structure specifies the value of theXTI_LINGERoption, described in "XTI-Level Options" (page 5-25).The linger structure is defined by the
t_lingerdata type.
struct t_linger { long l_onoff; /* option on/off */ long l_linger; /* linger time */ };
Field Description
l_onoff- A constant specifying whether the option is turned on (
T_ON)or off (T_OFF).l_linger- An integer specifying the linger time, the amount of time in seconds that Open Transport should wait to allow data in an endpoint's internal buffer to be sent before the
OTCloseProviderfunction closes the endpoint.- To request the default value for this option, set the
l_lingerfield toT_UNSPEC.
Main | Top of Section | What's New | Apple Computer, Inc. | Find It | Feedback | Help