Skip to content

hemanta212/Networking-in-Cpp

Repository files navigation

Networking in CPP

Small projects made to learn networking in the C++ programming language. The environments used were Windows VS 2022, Unity, Linux.

Resources

Barebones Server/Client: VS 2022 Project

A simple tcp server based on Winsock API. The project was build using the MS VS 2022 tools. Demonstrate a working server and a single client connection and message echoing. The server can be connected via telnet as well.

Barebones Server/Client: Linux

Network Layer Abstraction (OOP) : VS 2022 Project

Building a flexible abstraction layer on top of barebones server with OOP concepts to present a simple minimal server api with a callback.

Quotes of the Day: VS 2022 Project

An extension to the barebones server, which upon receiving a command ‘quote’, sends out a random quote that is read from a text file ‘wisdom.txt’.

Multiple chat clients, single threaded: VS 2022 Project

A chat app as an extension on top of barebones tcp server to support multiple clients. It is done without the use of multi-threading. select() and file descriptor sets are used along with file descriptor functions FD_SET, FD_CLR, FD_ZERO to support multiple clients.

UDP server/client : VS 2022 Project

A barebone server and client based on UDP. The client supports sending messages to the server with cli arguments. Also, netcat can be used as well to communicate with the UDP server.

About

Mini projects in cpp to learn networking concepts.

Resources

Stars

Watchers

Forks

Packages

No packages published

Languages