Minor updates to tcp client

This commit is contained in:
Neil Dorin
2017-10-31 14:19:51 -06:00
parent 44c9bcb788
commit adf7fd05ae
2 changed files with 118 additions and 109 deletions

View File

@@ -307,7 +307,8 @@ namespace PepperDash.Core
{
//if (Debug.Level == 2)
// Debug.Console(2, this, "Sending {0} bytes: '{1}'", bytes.Length, ComTextHelper.GetEscapedText(bytes));
Client.SendData(bytes, bytes.Length);
if(Client != null)
Client.SendData(bytes, bytes.Length);
}