LingerOption()

LingerOption::LingerOption(bool, int32_t) constructor

Constructs a new instance.

System::Net::Sockets::LingerOption::LingerOption(bool enable, int32_t seconds)

Arguments

ParameterTypeDescription
enableboolA value that indicates if the socket will delay closing in an attempt to send all pending data.
secondsint32_tA delay timeout in seconds.

See Also