Ecosyste.ms: Awesome

An open API service indexing awesome lists of open source software.

Awesome Lists | Featured Topics | Projects

https://github.com/pratikmane0112/cn-protocols

This repo contains various computer network protocols with client & server codes written in socket programming in C language.
https://github.com/pratikmane0112/cn-protocols

Last synced: 21 days ago
JSON representation

This repo contains various computer network protocols with client & server codes written in socket programming in C language.

Awesome Lists containing this project

README

        

# Computer Network Protocols
- Bitstuffing
- Bytestuffing
- client-server demo
- CRC
- Framing
- Go-Back-N
- Selective Repeat
- Sliding Window
- Stop-and-Wait-normal
- Stop-and-Wait-ARQ
- TCP Calculator

![](https://static.javatpoint.com/cpp/images/socket-programming-in-c-or-cpp.png)

### Instructions for Running the Server and Client

### Compiling the Code

#### For `server.c`:
```
gcc server.c -o server
```
#### For `client.c`:
```
gcc client.c -o client
```
### Running the executable file

#### For `server.c`:
```
./server
```
#### For `client.c`:
```
./client
```