Replies: 2 comments 1 reply
-
Trivial once Socket.AcceptAsync has an overload that supports cancellation, but while such an API has been approved, it's not yet implemented. |
Beta Was this translation helpful? Give feedback.
1 reply
-
This was actually just implemented for .NET 6 in #53340. |
Beta Was this translation helpful? Give feedback.
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
It would be great if
TcpListener.AcceptSocketAsync
andTcpListener.AcceptTcpClientAsync
had overloads that tookCancellationToken
s.What is the feasibility of this? I don't mind writing a proposal if I have to, I just am not familiar enough with .NET yet to write an effective one.
Beta Was this translation helpful? Give feedback.
All reactions