Skip to content

TomChi/CS-118-Project-1

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

7 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

CS-118-Project-1

Matthew Cheng UID: 503814451

Evan Shi UID: 103802860

Basic web server in c serving MIME files over TCP connections.

Use gcc to compile. Ping server from a browser.

Requirements:

  1. Print out received requests - DONE
  2. Handle requests and extract requested file name - DONE
  3. Retrieve requested resource and write to connection - DONE

For now, the server only serves HTML, JPEG and GIF files. Other file types are not supported. Tested with: test.html maru.jpg maru.gif

TODO: make the server more when handling unsupported types.

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • C 98.1%
  • Makefile 1.3%
  • HTML 0.6%