Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Socket async methods? #9

Open
DavidRieman opened this issue Feb 21, 2021 · 1 comment
Open

Socket async methods? #9

DavidRieman opened this issue Feb 21, 2021 · 1 comment

Comments

@DavidRieman
Copy link

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.)

@PawelGerr
Copy link
Owner

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.?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants