Skip to content

I'm storing a repository for the first project in CS305 - Networking Systems that my partner and I will use

Notifications You must be signed in to change notification settings

AstronautAndy/CS305_WebServerSim

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

37 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

------------------------------------------------------------------------
This is the project README file. Here, you should describe your project.
Tell the reader (someone who does not know anything about this project)
all he/she needs to know. The comments should usually include at least:
------------------------------------------------------------------------

PROJECT TITLE:
PURPOSE OF PROJECT:
VERSION or DATE:
HOW TO START THIS PROJECT:
AUTHORS:
USER INSTRUCTIONS:

This program will use the following byte encodings for the headers of signals sent. Note that the header will be 
designated as the first element in the byte array sent by the transport layer.
0 - Sys (Request an open channel between client and server. Should be sent by the client only)
1 - Ack (Open a channel. Should be used by the server only)
2 - Request object (Signal sent by the client to obtain a web page or other object from the server)
3 - Code 200
4 - Code 404
5 - Code 304

Here's a quick guide for myself to know which combination of args[2] and args[3] do what:
0 0 Non persistent, no cache (Should send an open request for each object URL requested, should not access cache)WORKS
0 1 Non Persistent, cache (Should send an open request for each object URL requested, should access cache)WORKS
1 0 Persistent, no cache (Should not send an open request for each object URL requested, should not access cache)WORKS
1 1 Persistent, cache (Should not send an open request for each object URL requested, should  access cache)

About

I'm storing a repository for the first project in CS305 - Networking Systems that my partner and I will use

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages