Developer

API Reference

INetwork_SetLinger()

Brew Release
Brew MP 1.0.2
See Also
Error Codes INetwork
Description
This function sets the linger time for the network connection to the value specified by wSecs, and returns the previous value in pwOldSecs. When the connection is created, the default linger time is set to 30 seconds.
Parameters
  • me
    []:
    The interface pointer.
  • wSecs
    []:
    The new linger time in seconds.
  • pwOldSecs
    []:
    Returns the previous linger time in seconds. May be NULL.
Interface
Prototype
   int INetwork_SetLinger(INetwork *me, uint16 wSecs, uint16* pwOldSecs);
Return
AEE_SUCCESS: linger time was set successfully. AEE_EFAILED: operation failed. Other error code : As appropriate.
Side Effect
None.
Comment
None
  • Follow