Open antonfirsov opened 3 years ago
Tagging subscribers to this area: @dotnet/ncl See info in area-owners.md if you want to be subscribed.
Author: | antonfirsov |
---|---|
Assignees: | - |
Labels: | `area-System.Net.Sockets`, `untriaged` |
Milestone: | - |
The issue title should probably be Socket.Shutdown() for UDP sockets: valid on Windows but leads to SocketException on Unix
Triage: discovered during our tests, not reported by a customer, pushing to future.
Follow up on https://github.com/dotnet/runtime/pull/47229#issuecomment-764829915 from #47229.
This is a behavioral difference between the OS-es, on Unix a call to
shutdown(sockfd, how)
returnsENOTCONN
for UDP sockets. We may or may not want to address it in our code for compatibility.