How ravblack/secn works
This repository is a set of standalone C demonstrations of data-link framing and reliable transmission. Users run each program in a terminal; interactive examples read parameters and simulated ACKs, then print transmission or framing results. Bit stuffing uses hard-coded input. The README is empty, so the map reflects the sampled source files only.
Main entry points: 02_character_stuffing.c Character stuffing · 03_stop_and_wait_arq.c Stop-and-wait ARQ · 04_go_back_n_arq.c Go-back-N ARQ · 05_selective_repeat_arq.c Selective-repeat ARQ
Components 6
Framing demos
- Bit stuffing
01_bit_stuffing.c - Character stuffing
02_character_stuffing.c
ARQ demos
- Stop-and-wait ARQ
03_stop_and_wait_arq.c - Go-back-N ARQ
04_go_back_n_arq.c - Selective-repeat ARQ
05_selective_repeat_arq.c
Other components
- Terminal user
Connections 9
- Bit stuffing → Terminal user: prints stuffed bits
- Terminal user → Character stuffing: provides data
- Character stuffing → Terminal user: prints frame and data
- Terminal user → Stop-and-wait ARQ: provides frames and ACKs
- Stop-and-wait ARQ → Terminal user: prints transmission status
- Terminal user → Go-back-N ARQ: provides frames, window, ACKs
- Go-back-N ARQ → Terminal user: prints sends and retries
- Terminal user → Selective-repeat ARQ: provides frames, window, ACKs
- Selective-repeat ARQ → Terminal user: prints sends and retries