Exemplo n.º 1
0
 private static void NegativeAck(IPEndPoint endPoint, BlockCipher cipher, kIntraSlaveId id, string message = "An error occurred while parsing a packet.")
 {
     Send(cipher.Encrypt(new Packet(kIntraMasterId.NegativeAck, (byte)id, message).GetBytes()), endPoint);
 }
Exemplo n.º 2
0
 private static void PositiveAck(IPEndPoint endPoint, BlockCipher cipher, kIntraSlaveId id)
 {
     Send(cipher.Encrypt(new Packet(kIntraMasterId.PositiveAck, (byte)id).GetBytes()), endPoint);
 }