System::Net::Sockets::TcpClient::set_LingerState method

TcpClient::set_LingerState method

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

void System::Net::Sockets::TcpClient::set_LingerState(System::SharedPtr<LingerOption> value)
ParameterTypeDescription
valueSystem::SharedPtr<LingerOption>The value that must be set.

See Also