JTTP 1/0.1
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.
- Clone this repository.
- Compile the code using
gcc:gcc -o jttp jttp.c - Run the compiled executable:
./jttp - Open a web browser and navigate to
http://localhostto see the served HTML content.
- Listens on port 80 by default.
- Serves a basic HTML file to clients.
- Handles multiple client connections using socket programming.
- Uses the MIT License.
Contributions are welcome! Feel free to open issues or submit pull requests.
This project is licensed under the terms of the MIT License. See the LICENSE file for details.