private CommandPacket ReceiveCommand() { var comPacket = new CommandPacket(); seq = 0; ReceivePacket(comPacket); return comPacket; }
public void SendCommand(CommandPacket comPacket) { comPacket.Write(this.socket); }