Thinktecture.Abstractions icon indicating copy to clipboard operation
Thinktecture.Abstractions copied to clipboard

Socket async methods?

Open DavidRieman opened this issue 4 years ago • 1 comments

The Socket async methods in modern System.Net.Sockets like BeginAccept, BeginConnect, BeginSend and so on would be nice to be in the interface and adapter in this library.

I was thinking about using the library via NuGet package to avoid having to write my own wrapper like this, but this became a blocker real quick. From the other issue, I assume this library is still not likely to be updated soon. However, if one were to fork to add these and make a PR, would it be likely to make its way back here and get into a fresh NuGet package? (Probably a longshot and my be easier all around if I just write my own for the one class I want to wrap, but figured to ask anyway.)

DavidRieman avatar Feb 21 '21 08:02 DavidRieman

Hi, I started to update the lib for .NET 5 but I'm not planing to include methods like Begin* and End*. Why not using AcceptAsync, ConnectAsync, etc.?

PawelGerr avatar Feb 21 '21 17:02 PawelGerr