Skip to content

Change IAsyncResult APIs in System.Net.Sockets to wrap Task APIs #43845

Closed
@geoffkizer

Description

@geoffkizer

We should change all the old IAsyncResult APIs in System.Net.Sockets to simply wrap the equivalent Task APIs, as we do in general.

Unfortunately, some of the current Task APIs actually use these IAsyncResult APIs. There is planned work to change this.

Specifically, we should do this for the following Socket APIs:

And these UdpClient APIs:

- [ ] [Begin/End]Send
- [ ] [Begin/End]Receive

EDIT (by @antonfirsov )

As per #43845 (comment), we don't need to do anything with UdpClient.

Metadata

Metadata

Assignees

Labels

area-System.Net.SocketsenhancementProduct code improvement that does NOT require public API changes/additionshelp wanted[up-for-grabs] Good issue for external contributors

Type

No type

Projects

No projects

Milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions