Closed Palomino34 closed 4 months ago
Starting 2.2.2.1000, GHI added Socket.SocketInUsed property, whenever this value reach to max, call GC.
if (Socket.SocketInUsed >=31)
{
System.GC.Collect();
System.GC.WaitForPendingFinalizers();
}
Maximum socket is 32 at the same time. Call GC to close unused socket.