dotnet / dotnet/docs

This example doesn't do what it's supposed to

Open
#30,670 0 comments 0 reactions 0 assignees View on GitHub
dotnet-framework/svc networking/subsvc okr-quality
Dominant language
No language data
Stars
4.8k
Forks
6.1k
Avg merge
19h 10m
Merged PRs (30d)
268

Description

The socket blocks waiting for EOF, also it hard crashes if the client terminates before it sends the EOF and it's only capable of serving a single connection at a time. Basically useless.

---
#### Document Details

⚠ *Do not edit this section. It is required for docs.microsoft.com ➟ GitHub issue linking.*

* ID: 315ecd86-1347-1820-06ed-01f3f6ae1f9f
* Version Independent ID: d60a9356-c3c6-e886-0aa8-96cc8878ccbb
* Content: [Asynchronous Server Socket Example - .NET Framework](https://docs.microsoft.com/en-us/dotnet/framework/network-programming/asynchronous-server-socket-example)
* Content Source: [docs/framework/network-programming/asynchronous-server-socket-example.md](https://github.com/dotnet/docs/blob/main/docs/framework/network-programming/asynchronous-server-socket-example.md)
* Product: **dotnet-framework**
* Technology: **dotnet-networking**
* GitHub Login: @karelz
* Microsoft Alias: **ncldev**

Contributor guide

Open the contributing guide

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.