Skip to content

puppykiwi/Jttp-server

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

30 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

JTTP 1/0.1

Johnray Tiny Transfer Protocol

Simple HTTP Server

This is a HTTP server written in C. It listens on port 80 and serves an HTML file or any other resources in the root location to clients upon request.

Usage

  1. Clone this repository.
  2. Compile the code using gcc:
    gcc -o jttp jttp.c
    
  3. Run the compiled executable:
    ./jttp
    
  4. Open a web browser and navigate to http://localhost to see the served HTML content.

Features

  • Listens on port 80 by default.
  • Serves a basic HTML file to clients.
  • Handles multiple client connections using socket programming.
  • Uses the MIT License.

Contributing

Contributions are welcome! Feel free to open issues or submit pull requests.

License

This project is licensed under the terms of the MIT License. See the LICENSE file for details.

About

Johnray Tiny Transfer Protocol

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

 
 
 

Contributors