set_LingerState()

Socket::set_LingerState(System::SharedPtr<LingerOption>) method

Sets a value that indicates if the socket will delay closing in an attempt to send all pending data.

void System::Net::Sockets::Socket::set_LingerState(System::SharedPtr<LingerOption> value)

Arguments

ParameterTypeDescription
valueSystem::SharedPtr<LingerOption>The value that must be set.

See Also