Giter Club home page Giter Club logo

webserver2.0's Introduction

项目说明

该项目 webServer2.0 使用 epoll + 线程池实现,可以实现GET、POST方法的部分内容 的解析,可以解析的文件类型有html、js、css、jpg、png、ico、mp3等。服务器可以 稳定的运行,关闭连接由客户端发起。

使用说明

该项目使用时,需要在目录中放置一个mp3文件,并命名为1.mp3,具体位置为 webServer2.0目录下。使用make进行编译连接源文件,使用./server port运行 程序。其中,port为端口号。以8080端口为例,终端输入./server 8080,打 开浏览器,输入localhost:8080,即可看到网页显示。

webServer2.0

webserver2.0's People

Contributors

junlang43 avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.