Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
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.
- Host: GitHub
- URL: https://github.com/pratikmane0112/cn-protocols
- Owner: PratikMane0112
- Created: 2024-04-24T07:59:15.000Z (9 months ago)
- Default Branch: master
- Last Pushed: 2024-04-24T08:25:38.000Z (9 months ago)
- Last Synced: 2024-11-07T13:16:06.684Z (2 months ago)
- Language: C
- Size: 5.56 MB
- Stars: 0
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
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
```