Home |
Program WebServer |
Program WebServerThe Web server demo requires RTIP-32 add-on Web Server. It implements a small Web site with a few files to demonstrate various Web server features such as CGI, Forms, and file uploading. The demo itself contains no screen output. To see what is going on, connect to the target using a Web browser under Windows. For example, if the target is running on IP address 192.168.1.10, enter URL: http://192.168.1.10/ To enable the demo to work without a file system, all .htm, .html, .css and .gif files are included on the RTTarget-342 RAM file system. If you intend to use the Web server with RTFiles-32, these files should be placed on a hard disk on the target instead. By default, this demo supports the HTTP protocol on TCP port CFG_WWW_PORT (default: 80). To enable HTTPS on port CFG_HTTPS_PORT (default: 443), set preprocessor macro INCLUDE_HTTPS to 1. This demo can obtain its IP address from a DHCP server. If you have purchased the DHCP add-on for RTIP-32, you can define preprocessor symbol DHCP in the source code or on the compiler command line and add library Dhcpc.lib to enable this feature.
|