How to modify variable values defined by the client through the server (with web interface)

Source: Internet
Author: User
How does one modify the variable value defined by the client through the server (with web interface? The server is written in PHP. of course, it also contains & nbsp; js & nbsp; and so on. The client is written in C language on the device. PS: authpuppy authentication server and wifidog written on the router. To achieve this, set an option on the server interface. Save the option and pass the value to a variable on the client. assume that the variable is Timeout. Is there any good way to think about how to modify the variable value defined by the client through the server (with web interface?
The server is written in PHP. of course, it also contains js and so on. The client is written in C language on the device.

PS: authpuppy authentication server and wifidog written on the router.

To achieve this, set an option on the server interface. Save the option and pass the value to a variable on the client. assume that the variable is Timeout.

Is there any good method or idea?
------ Solution --------------------
Check whether your client supports duplex communication.
Generally, the ticket is relatively simple (the client requests, the server returns data), and the client does not need to be so complicated. Only less real-time
Duplex communication is actually a listener function (server request, client return data) on the client, which is real-time, but the cost is much higher.

No matter what language you use, as long as you follow the agreement, there will be no problem.

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.