This repository contains a collection of Computer Networks laboratory programs implemented in C.
The programs demonstrate important networking concepts including:
- Client-Server Communication
- Error Detection using CRC
- Routing Algorithms
- Flow Control Protocols
- Sliding Window Techniques
- Network Layer Algorithms
These programs are designed for Computer Science and Information Technology students to understand networking concepts through practical implementation.
- One-way communication
- Client sends message to server
- Implemented using TCP sockets
- Two-way communication
- Client and server exchange messages
- Interactive communication model
- CRC generation
- Error detection at receiver side
- Binary division using XOR
- Simulates transmission errors
- Random bit corruption
- Error detection demonstration
- Shortest path calculation
- Link State Routing
- Network Layer routing
- Bellman-Ford based routing
- Routing table generation
- Next-hop calculation
- Frame transmission
- ACK handling
- Timeout and retransmission
- Sliding window mechanism
- Multiple frame transmission
- Retransmission from lost frame
- Independent frame acknowledgment
- Selective retransmission
- Efficient error recovery
- C Programming
- TCP/IP Networking
- Winsock API
- Socket Programming
- Routing Algorithms
- Error Detection Techniques
After studying these programs, students will understand:
- Socket Programming
- TCP Communication
- Error Detection Mechanisms
- Routing Algorithms
- Flow Control Protocols
- Sliding Window Protocols
- Network Layer Concepts
- Data Link Layer Concepts
gcc filename.c -o output
./output- Open source file
- Build and Run
- Open source file
- Compile
- Run
This repository is developed for:
- BCA
- B.Sc Computer Science
- B.Tech CSE
- Diploma in Computer Engineering
- Computer Networks Laboratory
Amit Kumar Maity
Computer Science Student
⭐ If you found this repository useful, consider giving it a star.