Skip to content

Commit

Permalink
fix: tcp timeout
Browse files Browse the repository at this point in the history
  • Loading branch information
nattb8 committed Oct 19, 2024
1 parent 7b2c24a commit 7d248e4
Showing 1 changed file with 2 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -48,13 +48,13 @@ public TCPCommunicationLayer()
public override Client CreateClient()
{
IPEndPoint ipEndPoint = new(IPAddress.Loopback, inPort);
return new TCPClient(ipEndPoint, connectionTimeout);
return new TCPClient(ipEndPoint, int.MaxValue);
}

public override Host CreateHost()
{
IPEndPoint ipEndPoint = new(IPAddress.Loopback, outPort);
return new TCPHost(ipEndPoint);
return new TCPHost(ipEndPoint, int.MaxValue, int.MaxValue);
}

public override void GetIpcSettings(out object outLocation, out object inLocation, out string assemblyLocation)
Expand Down

0 comments on commit 7d248e4

Please sign in to comment.