readme

来自「C语言实现的一个简易的HTTP服务器源代码」· 代码 · 共 40 行

TXT
40
字号
Embeddedable HTTP ServerThis package comprises the Embeddedable HTTP Server.  The package is made upof three parts:  ./emhttp contains the embeddable HTTP server source,  ./emhttp/tools contains the internal filesystem creation tool, and  ./emhttp/tools/root contains a sample content subdirectory.Quick Build Summary:This server is provided as a test tool which runs on a standard Linux desktop.This is useful for building a test version of the server before applying tothe embedded device.Once the content is created for the device, the 'buildfs' tool is run on thefull pathname of the subdirectory to create a compilable data structure thatrepresents the file system.  The resulting file, 'filedata.c' is then copiedto the ./emhttp subdirectory and then the server built by simply typing 'make'.To review content contained within the server, the following may be done(assuming the server is on a host with the IP address 192.168.1.1):	http://192.168.1.1:8080/index.htmlThe usage log may be reviewed by:	http://192.168.1.1:8080/logIf the browser is on the same host as the emhttp server:	http://localhost:8080/Depending upon the socket library provided by the particular RTOS, somecalls may need to be modified.M. Tim Jonesmtj@mtjones.com

⌨️ 快捷键说明

复制代码Ctrl + C
搜索代码Ctrl + F
全屏模式F11
增大字号Ctrl + =
减小字号Ctrl + -
显示快捷键?