怎么通过服务端(带网页界面)修改客户端定义的变量值
如何通过服务端(带网页界面)修改客户端定义的变量值?
服务端是PHP写的,当然里面还包含 js 等,客户端是C语言写在设备上的。
PS:其实就是authpuppy认证服务器与写在路由器上的wifidog。
现在想实现的是,在服务器端界面上设置一个选项,该选项保存后将值传给客户端的某个变量,假设该变量为:Timeout。
请问有什么好的方法或思路么?
------解决方案--------------------
这样看你的客户端是否支持双工通讯
通常单工比较简单(客户端请求,服务端返回数据),客户端也没必要弄那么复杂。只不过实时性差些
双工通讯实际上是在客户端做上监听功能(服务端请求,客户端返回数据),实时性好,但成本就要高得多了
无论用什么语言,只要遵从协议,那就不会有问题

Hot AI Tools

Undresser.AI Undress
AI-powered app for creating realistic nude photos

AI Clothes Remover
Online AI tool for removing clothes from photos.

Undress AI Tool
Undress images for free

Clothoff.io
AI clothes remover

AI Hentai Generator
Generate AI Hentai for free.

Hot Article

Hot Tools

Notepad++7.3.1
Easy-to-use and free code editor

SublimeText3 Chinese version
Chinese version, very easy to use

Zend Studio 13.0.1
Powerful PHP integrated development environment

Dreamweaver CS6
Visual web development tools

SublimeText3 Mac version
God-level code editing software (SublimeText3)

Hot Topics

In this chapter, we will understand the Environment Variables, General Configuration, Database Configuration and Email Configuration in CakePHP.

PHP 8.4 brings several new features, security improvements, and performance improvements with healthy amounts of feature deprecations and removals. This guide explains how to install PHP 8.4 or upgrade to PHP 8.4 on Ubuntu, Debian, or their derivati

To work with date and time in cakephp4, we are going to make use of the available FrozenTime class.

To work on file upload we are going to use the form helper. Here, is an example for file upload.

In this chapter, we are going to learn the following topics related to routing ?

CakePHP is an open-source framework for PHP. It is intended to make developing, deploying and maintaining applications much easier. CakePHP is based on a MVC-like architecture that is both powerful and easy to grasp. Models, Views, and Controllers gu

Visual Studio Code, also known as VS Code, is a free source code editor — or integrated development environment (IDE) — available for all major operating systems. With a large collection of extensions for many programming languages, VS Code can be c

Validator can be created by adding the following two lines in the controller.
