public PendingOp(MicroMessageCodes messageCode) { this.messageCode = messageCode; this.startTime = DateTime.Now; this.cancelled = false; }
private void SendCommand(MicroMessageCodes code, IPAddress address) { pendingOps[address] = new PendingOp(code); client.Send(new byte[] { (byte)code }, 1, new IPEndPoint(address, 20)); }