Updated secure client, I think this is the final version for the Secure Client, will be adding the server from Pro next.

This commit is contained in:
Joshua Gutenplan
2017-03-10 19:12:52 -08:00
parent 408f58bf71
commit 1227038b55
12 changed files with 71 additions and 42 deletions

View File

@@ -256,7 +256,7 @@ namespace PepperDash.Core
{
Client.DisconnectFromServer();
Debug.Console(2, "Attempting reconnect, status={0}", Client.ClientStatus);
RetryTimer = new CTimer(o => { Client.ConnectToServerAsync(ConnectToServerCallback); }, 1000);
RetryTimer = new CTimer(o => { Client.ConnectToServerAsync(ConnectToServerCallback); }, AutoReconnectIntervalMs);
}
void Receive(TCPClient client, int numBytes)