dotnet / dotnet/dotnet-api-docs
Something is amiss of LingerOption doc
Open
area-System.Net
Pri3
untriaged
- Dominant language
- C#
- Stars
- 949
- Forks
- 1.7k
- Avg merge
- 3d 27m
- Merged PRs (30d)
- 49
Description
https://github.com/dotnet/dotnet-api-docs/blob/main/xml/System.Net.Sockets/TcpClient.xml
https://learn.microsoft.com/en-us/dotnet/api/system.net.sockets.lingeroption.-ctor?view=net-6.0#system-net-sockets-lingeroption-ctor(system-boolean-system-int32
The description of `LingerOption` class seems conflict with [C++ version counterpart ](https://learn.microsoft.com/en-us/windows/win32/api/winsock/ns-winsock-linger)
And the default value of `enable` we get when coding is true, but the doc says it's false.
Contributor guide
Assessment
This issue has not been assessed yet.