Code Monkey home page Code Monkey logo

c-web-server's People

Contributors

beejjorgensen avatar seanchen1991 avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

c-web-server's Issues

Integrate PHP

Is there a way to integrate PHP into this webserver?

can i contribute as not LambdaSchool student?

hello i am programming beginer. i am first time in git hub. so if i rude, tell me please. so, is this school project? i want to contribute this project but if this is school project,,, i think only lambdaschool student can contribute this project...
can i contribute this project?

License

Is there a license for this material?

Bug/Enhancement: Include socket.h in net.h, or forward declare struct sockaddr

In net.h, we used struct sockaddr in a function prototype, but we did not include socket.h in the header file. This is dangerous IMO because if the user decides to sort (or the IDE automatically sorts) the includes in net.c, such that #include "net.h" happens before #include <sys/socket.h>, the program will not compile. For best practices, we should include socket.h in net.h, or at least forward declare the struct.

// At the top of net.h, within the include guards.

#include <sys/socket.h>

// or

struct sockaddr; // forward declare

Incorrect info

The following section in the readme is incorrect. While you can use GET to request an HTML document, that is not necessarily a common use-case. A more common use-case for GET is to request data from a server and send that back in the response payload, typically using JSON. I think this description limits students to a box of what GET is for and is very inaccurate. Imagine someone interviewing for a company and them saying something like that. That really hurts someone's chances of nailing that job they really want, and need since they just spent $10k+ on this program.

A web server is a piece of software that accepts HTTP requests (commonly GET
requests for HTML pages), and returns responses (commonly HTML pages). Other
common uses are GET requests for images within web pages, and POST requests to
upload data to the server (e.g. a form submission or file upload).

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.