Code Monkey home page Code Monkey logo

project1_sysnet-ii's Introduction

project1_SysNet-II HTTP SERVER

Http Server

This is a custom Http server created to aid our understanding in the Http protocol and socket programming. This project seemed straightforward and simple; however, it did involve a good bit of learning.

How to use

Compilation

After compiling the program inside on your local machine by entering the command "make" into the terminal, you can run then the server by entering the command "./startserver". This server is great proof of concept because it functions just like any other server. It receives requests, handles them, and continues to listen.

Making Requests

Upon starting the server we will be seeing the requests come in and the relevant information is displayed in the terminal. Once its started, go ahead and open up your favorite browser and type "localhost:60049" into the search bar. This will then display the default page which will have a few links to try out.

The links

Once we see the default page there will be three links going to index.html, testPresence.html and notfound.html. index.html is synonymous to the default page, testPresence.html displays a cool image and notfound.html will display a 404 not found code. In addition, if there is any unknown link typed in e.g localhost:60049/unknown.html, the server will display the 404 not found page.

project1_sysnet-ii's People

Contributors

aaronbading avatar

Watchers

 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.