// This sends a command to the client public void SendCommand(RemoteCommand cmd) { cmd.WriteTo(sendbuffer); }