-
Notifications
You must be signed in to change notification settings - Fork 272
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
add tests for ReceiveFrom and SendTo #3211
Conversation
@wfurt is this ready to be merged? RC1 is now in the wild, so maybe the comment above from @stephentoub can be resolved. I'd like to have this merged. |
updated.
|
Blazor test failures seems unrelated. |
@stephentoub Is this OK from your POV to merge? |
@@ -116,6 +118,67 @@ public async Task ReceiveAsyncThenSendAsync_SocketAsyncEventArgs() | |||
} | |||
} | |||
|
|||
[Benchmark] | |||
public async Task ReceiveFromAsyncThenSendToAsync_Task() |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Nit: should this be named _EndPoint rather than _Task?
} | ||
|
||
[Benchmark] | ||
public void SendToThenReceiveFrom() |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
You added async APIs for both EndPoint and SocketAddress, but sync for only EndPoint?
related to dotnet/runtime#86513 and dotnet/runtime#30797