Esempio n. 1
0
 private void ComReader_Incoming(object sender, IncomingTextEventArgs e)
 {
     foreach (var conn in _connections)
     {
         conn.Send(e.IncomingText);
     }
 }
Esempio n. 2
0
 private void Connection_Incoming(object sender, IncomingTextEventArgs e)
 {
     lock (tcpIncomingLock)
     {
         ComConnection.Send(e.IncomingText);
     }
 }