Skip to content

Commit

Permalink
Rewrite Socket.ConnectAsync for DNS with async/await
Browse files Browse the repository at this point in the history
Rips out all of the APM code that was previously used to implement this and replaces it with {Value}Task-based async/await implementations.
  • Loading branch information
stephentoub committed Oct 27, 2020
1 parent 8ac5dc8 commit 29006df
Show file tree
Hide file tree
Showing 14 changed files with 313 additions and 1,387 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -45,9 +45,7 @@
<Compile Include="System\Net\Sockets\UdpReceiveResult.cs" />
<Compile Include="System\Net\Sockets\AcceptOverlappedAsyncResult.cs" />
<Compile Include="System\Net\Sockets\BaseOverlappedAsyncResult.cs" />
<Compile Include="System\Net\Sockets\ConnectOverlappedAsyncResult.cs" />
<Compile Include="System\Net\Sockets\DisconnectOverlappedAsyncResult.cs" />
<Compile Include="System\Net\Sockets\MultipleConnectAsync.cs" />
<Compile Include="System\Net\Sockets\OverlappedAsyncResult.cs" />
<Compile Include="System\Net\Sockets\ReceiveMessageOverlappedAsyncResult.cs" />
<Compile Include="System\Net\Sockets\UnixDomainSocketEndPoint.cs" />
Expand Down Expand Up @@ -100,7 +98,6 @@
<!-- Windows: CoreCLR -->
<Compile Include="System\Net\Sockets\AcceptOverlappedAsyncResult.Windows.cs" />
<Compile Include="System\Net\Sockets\BaseOverlappedAsyncResult.Windows.cs" />
<Compile Include="System\Net\Sockets\ConnectOverlappedAsyncResult.Windows.cs" />
<Compile Include="System\Net\Sockets\OverlappedAsyncResult.Windows.cs" />
<Compile Include="System\Net\Sockets\DynamicWinsockMethods.cs" />
<Compile Include="System\Net\Sockets\ReceiveMessageOverlappedAsyncResult.Windows.cs" />
Expand Down Expand Up @@ -198,7 +195,6 @@
<ItemGroup Condition="'$(TargetsUnix)' == 'true'">
<Compile Include="System\Net\Sockets\AcceptOverlappedAsyncResult.Unix.cs" />
<Compile Include="System\Net\Sockets\BaseOverlappedAsyncResult.Unix.cs" />
<Compile Include="System\Net\Sockets\ConnectOverlappedAsyncResult.Unix.cs" />
<Compile Include="System\Net\Sockets\DisconnectOverlappedAsyncResult.Unix.cs" />
<Compile Include="System\Net\Sockets\OverlappedAsyncResult.Unix.cs" />
<Compile Include="System\Net\Sockets\ReceiveMessageOverlappedAsyncResult.Unix.cs" />
Expand Down

This file was deleted.

This file was deleted.

This file was deleted.

Loading

0 comments on commit 29006df

Please sign in to comment.