合肥生活安徽新聞合肥交通合肥房產(chǎn)生活服務(wù)合肥教育合肥招聘合肥旅游文化藝術(shù)合肥美食合肥地圖合肥社保合肥醫(yī)院企業(yè)服務(wù)合肥法律

        Comp 2322代寫、Python/Java程序代做

        時(shí)間:2024-04-20  來(lái)源:合肥網(wǎng)hfw.cc  作者:hfw.cc 我要糾錯(cuò)



        Comp 2**2 Computer Networking
        Project: Multi-thread Web Server
        Due time: 11:59pm, April 21, 2024, Sunday
        Total marks: 100 marks
        Project objectives
        This project aims to develop a socket program to implement a Web service using the
        HTTP protocol.
        Design requirements
        In this project, you are required to develop a multi-threaded Web server in Python that is
        capable of processing HTTP requests sent from browsers or some other client programs.
        This multi-threaded program will be able to handle multiple requests at the same time.
        Specifically, your Web server will
        (i) create a connection socket when contacted by a client (browser);
        (ii) receive the HTTP request from this connection;
        (iii) parse the request to determine the specific file being requested;
        (iv) get the requested file from the server’s file system;
        (v) create an HTTP response message consisting of the requested file preceded by
        header lines;
        (vi) send the response over the TCP connection to the requesting client. If the client
        requests a file that is not present in your server, your server should return a “404
        Not Found” error message.
        Your task is to implement the server program, run your server program, and then test
        your server program by sending requests from the client programs running on different
        hosts. You may run the server on your own computer, using the IP address of 127.0.0.1. If
        you run your server on a host that already has a Web server running on it, then you should
        use a different port than port 80 for your Web server.
        You can develop your code in two stages. In the first stage, you can simply implement the
        server program to receive the HTTP request messages and display the contents. After this
        is running properly, you can add the code to generate appropriate responses in the second
        stage. The Web server needs a log file to record statistics of the client requests. Each
        request corresponds to one line of record in the log. Write down client hostname/IP
        address, access time, requested file name and response type for each record. Your Web
        server also needs to handle some simple errors, such as web-page not found.
        You can use either Python, Java or C/C++ languages for the project. When implementing
        the Web server, you are required to use basic socket programming classes to build the
        Web server from scratch instead of using the HTTPServer class directly.
        Submission requirements
        Each student needs to submit a project package to Learn@PolyU, containing the
        following documents:
        x A project report that contains
        o A cover page includes your name and student number;
        o A summary of your design and implementation of the server program;
        o A demonstration of executing your program and screen capturing of results of
        all functions;
        o A log file that records the historical information about the client requests and
        server responses.
        x Complete source code
        o Your code should be commented appropriately.
        x A README text file of how to compile and run your program.
        The due time of the project is 11:59pm, April 21, 2024, Sunday, determined by
        Learn@PolyU. Do not challenge this time and submit your project package a little
        earlier. Late submission will cause the marks deducted 25% per day.
        Assessment rubrics
        The following rubrics will be used to evaluate your project quality and to determine
        your grade (100 marks):
        m­s
        YNNNMM一 一一一一 一一一一 一一
        x Design and implement the Web server program to support the following functions
        (70 marks)
        o Multi-threaded Web server (5 marks)
        o Proper request and response message exchanges (5 marks)
        o GET command for both text files and image files (10 marks, 5 marks each)
        o HEAD command (10 marks)
        o Four types of response statuses ONLY, including 200 OK, 400 Bad Request,
        404 File Not Found, 304 Not Modified (20 marks, 5 marks each)
        o Handle Last-Modified and If-Modified-Since header fields (10 marks)
        o Handle Connection header field for both HTTP persistent connection
        (keep-alive) and non-persistent connection (close) (10 marks, 5 marks each)
        x Quality of your project’s report (25 marks)
        o A good summary of your design and implementation of the server program
        (10 marks)
        o A full demonstration of executing your program and screen capturing of
        results of all functions (5 marks)
        o A complete log file (5 marks)
        o A clear README text file (5 marks)
        x Quality of your project’s source code (5 marks)
        o Complete source code for the project
        o Good naming and coding conventions used in your source code
        o Compile the source code successfully
        o Execute the program without runtime errors
        Comp 2**2 Computer Networking
        Project Marking Sheet
        Student Information Name Student ID
        TA Information
        Check List Marks
        Design and implement the Web server program (70 marks)
        o Multi-threaded Web server (5 marks)
        o Proper request and response message exchanges (5 marks)
        o GET command for both text files and image files (10 marks)
        o HEAD command (10 marks)
        o Four types of response statuses ONLY (20 marks)
        o Handle Last-Modified and If-Modified-Since header fields (10 marks)
        o Handle Connection header field (10 marks)
        Quality of your project’s report (25 marks)
        o A good summary of your design and implementation (10 marks)
        o A full demonstration of executing your program and screen capturing of
        results of all functions (5 marks)
        o A complete log file (5 marks)
        o A clear README text file (5 marks)
        Quality of your project’s source code (5 marks)
        o Complete source code for the project
        o Good naming and coding conventions used in your source code
        o Compile the source code successfully
        o Execute the program without runtime errors
        Total

        請(qǐng)加QQ:99515681  郵箱:99515681@qq.com   WX:codinghelp








         

        掃一掃在手機(jī)打開(kāi)當(dāng)前頁(yè)
      1. 上一篇:代寫IMSE2113、Java,c/c++編程設(shè)計(jì)代做
      2. 下一篇:菲律賓學(xué)生簽辦理要求(學(xué)生簽辦理材料匯總)
      3. 無(wú)相關(guān)信息
        合肥生活資訊

        合肥圖文信息
        挖掘機(jī)濾芯提升發(fā)動(dòng)機(jī)性能
        挖掘機(jī)濾芯提升發(fā)動(dòng)機(jī)性能
        戴納斯帝壁掛爐全國(guó)售后服務(wù)電話24小時(shí)官網(wǎng)400(全國(guó)服務(wù)熱線)
        戴納斯帝壁掛爐全國(guó)售后服務(wù)電話24小時(shí)官網(wǎng)
        菲斯曼壁掛爐全國(guó)統(tǒng)一400售后維修服務(wù)電話24小時(shí)服務(wù)熱線
        菲斯曼壁掛爐全國(guó)統(tǒng)一400售后維修服務(wù)電話2
        美的熱水器售后服務(wù)技術(shù)咨詢電話全國(guó)24小時(shí)客服熱線
        美的熱水器售后服務(wù)技術(shù)咨詢電話全國(guó)24小時(shí)
        海信羅馬假日洗衣機(jī)亮相AWE  復(fù)古美學(xué)與現(xiàn)代科技完美結(jié)合
        海信羅馬假日洗衣機(jī)亮相AWE 復(fù)古美學(xué)與現(xiàn)代
        合肥機(jī)場(chǎng)巴士4號(hào)線
        合肥機(jī)場(chǎng)巴士4號(hào)線
        合肥機(jī)場(chǎng)巴士3號(hào)線
        合肥機(jī)場(chǎng)巴士3號(hào)線
        合肥機(jī)場(chǎng)巴士2號(hào)線
        合肥機(jī)場(chǎng)巴士2號(hào)線
      4. 幣安app官網(wǎng)下載 短信驗(yàn)證碼

        關(guān)于我們 | 打賞支持 | 廣告服務(wù) | 聯(lián)系我們 | 網(wǎng)站地圖 | 免責(zé)聲明 | 幫助中心 | 友情鏈接 |

        Copyright © 2024 hfw.cc Inc. All Rights Reserved. 合肥網(wǎng) 版權(quán)所有
        ICP備06013414號(hào)-3 公安備 42010502001045

        主站蜘蛛池模板: 国产福利电影一区二区三区,日韩伦理电影在线福 | 国产精品福利一区二区| 一区高清大胆人体| 蜜臀Av午夜一区二区三区| 精品在线一区二区| 国产成人午夜精品一区二区三区| 国产精品主播一区二区| 国产在线精品一区在线观看| 国产日韩一区二区三区在线播放 | 精品无码一区二区三区爱欲九九 | 日韩精品无码一区二区三区四区| 爆乳无码AV一区二区三区| 亚洲一区在线视频观看| 久久久久久人妻一区精品| 制服中文字幕一区二区| 波多野结衣一区二区三区aV高清| 欧洲精品一区二区三区在线观看 | 一区二区网站在线观看| 夜夜精品视频一区二区| 国产日韩精品视频一区二区三区| 69福利视频一区二区| 国产亚洲综合一区柠檬导航| 夜夜添无码一区二区三区| 中文字幕久久亚洲一区| 国产精品小黄鸭一区二区三区| 日韩精品一区二区三区影院| 一区二区三区在线播放视频| 国产精品亚洲专一区二区三区| 国产精品亚洲一区二区三区| 麻豆视传媒一区二区三区| 波多野结衣电影区一区二区三区| 国产一区二区三区在线看片| 国产一区二区三区日韩精品| 久久久精品日本一区二区三区| 国产韩国精品一区二区三区| 国产在线一区二区| 在线成人一区二区| 日本免费一区二区三区最新vr| 亚洲AⅤ无码一区二区三区在线| 一区二区三区高清视频在线观看| 综合人妻久久一区二区精品|