## TcpClient::get_LingerState method


Gets a value that indicates if the socket will delay closing in an attempt to send all pending data.

```cpp
System::SharedPtr<LingerOption> System::Net::Sockets::TcpClient::get_LingerState()
```


### ReturnValue

A value that indicates if the socket will delay closing in an attempt to send all pending data.

## See Also

* Typedef [SharedPtr](../../../system/sharedptr/)
* Class [LingerOption](../../lingeroption/)
* Class [TcpClient](../)
* Namespace [System::Net::Sockets](../../)
* Library [Aspose.PDF for C++](../../../)
