File tree Expand file tree Collapse file tree 1 file changed +3
-1
lines changed
Wissance.Hydra/Wissance.Hydra/Wissance.Hydra.Tcp.Tests/Transport Expand file tree Collapse file tree 1 file changed +3
-1
lines changed Original file line number Diff line number Diff line change 11using System ;
22using System . Collections . Generic ;
33using System . Linq ;
4+ using System . Net ;
45using System . Reflection ;
56using Microsoft . Extensions . Logging ;
67using Microsoft . Extensions . Logging . Abstractions ;
@@ -25,7 +26,8 @@ public class MultiChannelTcpServerTests : IDisposable
2526 public MultiChannelTcpServerTests ( ITestOutputHelper testOutputHelper )
2627 {
2728 _testOutputHelper = testOutputHelper ;
28- _localAddress = OperatingSystem . IsWindows ( ) ? "127.0.0.1" : "0.0.0.0" ;
29+ _localAddress = IPAddress . Loopback . ToString ( ) ;
30+ // OperatingSystem.IsWindows() ? "127.0.0.1" : "0.0.0.0";
2931 _testOutputHelper . WriteLine ( $ "Local address is: { _localAddress } ") ;
3032 }
3133
You can’t perform that action at this time.
0 commit comments