In this project I will attempt to build a small socket server from scratch. The aim of the project is to prepare me for another bigger project (HTTP Server from scratch).
Last updates: 11/7/2024
This only works on windows. make sure to run server.c
file then use telnet to establish a connection:
$ telnet remotehostname 3030
where the remotehostname
is your device name (Click here to find it).
you should see a hello world message sent then the connection will be lost.
Hello world!
Connection to host lost.
- implement a small server that sends hello world
- implement multi-threading to accept and handle multiple connections
- implement a client to send messages back to server
- implement clients that communicates between each other (chatbox)
- Ensure Proper Error handling
- Ensure that this program works on both IPv4 and IPv6 (IP Agnostic)
Last updates: 11/7/2024