Experimental five experimental report

Source: Internet
Author: User

Actual inspection report

Course: Information security system design Basic class: 1353

Name: Wei quiet Liu Hongchen literary Science No.:20135302 20135325 20135331

Score: Instructor: Lou Jia Peng Experimental Date:2015.11.17

test Level: Preview degree: experimental time:30-18:00

Instrument group: compulsory /elective: compulsory test number:5

Experiment Name: simple embedded WEB Server Experiment

Experimental purposes and requirements:

1. Master the process of implementing a simple Web server in the arm Development Board.

2, learn the socket network programming on the arm Development Board.

 3, learning the use of the signal () function under Linux.                                                        

                                                                                                                                                                                                     

Experiment contents, steps and experience:

1, the understanding of the experiment process, the understanding of the knowledge point in the experiment instruction book.

(1) A general understanding of the algorithm flow of the main program of the Code

Set signal processing handle-> go to root directory ---command line processing--establish TCP stream socket-> binding listening Port--set allow customers--number of connections to listen for client connection requests Customer connection Request Processing

(2) Use the Make command to generate the executable file httpd

The teacher gave the code package, just follow the experimental instructions, a make command is compiled directly, you can see the folder again to find that the httpd executable has been generated, and then use the NFS service to download the httpd executable file to HyperTerminal, after running the interface waiting for the connection, You can see the Google interface by entering the IP of the arm lab machine on your native browser. But this step seems to be simple and has encountered some problems, as follows.

2. The problems encountered during the experiment and the solutions.

(1)

Problem: There was an issue that could not be compiled when you used make compilation in the lab guide.

Solution:

(2) to solve: I thought garbled just at the beginning of the display problem, and did not affect the compilation results, the results found not to run, because the httpd executable is not generated , and then I manually compiled the last line of the GCC code, generated the httpd executable file , then follow the normal steps, run, the native browser on the input arm experiment machine IP can see the Google interface. The experiment was successful.

Experimental five experimental report

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.