Touch-ups on autoreconnect

This commit is contained in:
Heath Volmer
2016-11-10 12:26:45 -07:00
parent 9553dac99c
commit c92c2e6df4
8 changed files with 27 additions and 6 deletions

View File

@@ -64,7 +64,7 @@ namespace PepperDash.Core
public bool AutoReconnect { get; set; }
/// <summary>
///
/// Milliseconds to wait before attempting to reconnect. Defaults to 5000
/// </summary>
public int AutoReconnectIntervalMs { get; set; }
@@ -98,6 +98,7 @@ namespace PepperDash.Core
return;
}
}
AutoReconnectIntervalMs = 5000;
Client = new TCPClient(address, port, bufferSize);
Client.SocketStatusChange += Client_SocketStatusChange;