Open 3bh opened 6 years ago
TcpClient only supports ConnectAsync() in .NET Core. This requires that our .Connect() wrapper wait for the .ConnectAsync() call to complete before calling .GetStream(), so we will make the .Connect() method awaitable.
TcpClient only supports ConnectAsync() in .NET Core. This requires that our .Connect() wrapper wait for the .ConnectAsync() call to complete before calling .GetStream(), so we will make the .Connect() method awaitable.