Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Properly catch SocketException when calling GetHostEntry
Using GetHostEntry instead of GetHostEntryAsync + Wait means the `SocketException` is no longer wrapped inside an `AggregateException`. Also simplify catching the the `AggregateException` in the .NET Standard 1.6 code path by using `GetBaseException()`.
- Loading branch information