Beispiel #1
0
 public static bool SendTCPSync(TCPBaseComm command)
 {
     return(command.Send(out Error));
 }
Beispiel #2
0
 ///////////////////////////////////////////////////////////////////////////////////////////////
 /// <summary>
 ///
 /// </summary>
 /// <param name="command"></param>
 /// <returns></returns>
 public static Task <bool> SendTCPAsync(TCPBaseComm command)
 {
     return(Task.Factory.StartNew(() => command.Send(out Error)));
 }