Skip to content

This repository contains C programs for building both HTTP and TCP servers. These servers handle client requests and demonstrate basic networking concepts.

License

Notifications You must be signed in to change notification settings

IanoNjuguna/Sockets

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

27 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Sockets

This repository contains C programs for building both HTTP and TCP servers. These servers handle client requests, demonstrate basic networking concepts, and serve as educational resources for understanding socket programming in C.

Description

This repository contains four directories. The contents of these directories include:

HTTP Server & HTTP Client:

  • A basic HTTP server that listens for incoming HTTP requests on a specified port.
  • Supports handling GET and POST requests.
  • Parses HTTP requests to extract headers, URL, and body data.

TCP Server & TCP Client:

  • A basic TCP server that listens for incoming TCP connections on a specified port.
  • Establishes connections with clients and handles data transmission.
  • Supports basic error handling and graceful termination.

About

This repository contains C programs for building both HTTP and TCP servers. These servers handle client requests and demonstrate basic networking concepts.

Topics

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published