Programs, reports, documentation, and output screenshots implemented and designed for the laboratory coursework in UCS1511: Computer Networks.
Link to Documentation of All Experiments
All experiment reports can be found here.
-
- Study the basic network commands in GNU systems.
- Study the common system calls in the C language.
- Network Commands in *nix
- System Calls in C
-
TCP Echo Server and Chat Server
- Implement an Echo Server using C and the TCP protocol
- Implement a File Server using C and the TCP protocol
- Implementations and Reports
- A: Echo server
- B: File server
-
UDP Chat Server - Single and Multi client
- Implement a single-client chat server using C and the UDP protocol
- Implement a multi-client chat server using C and the UDP protocol
- Implementations and Reports
- A: Single-Client
- B: Multi-Client
- Simulate the working of ARP using socket programming in the C language.
- Use a TCP-based multi-client server to exchange messages.
- Sample Output
- Report
- Simulate the working of Domain Name Server using socket programming in the C language.
- Use a UDP-based multi-client server to exchange messages.
- Sample Output
- Report
- Implement Hamming Code for Single Error Correction using C socket program.
- Use a TCP-based transmission server to exchange messages.
- Sample Output
- Report
- Implement a HTTP web client program using C socket program.
- Construct a TCP client to connect with the web server and download a file.
- Sample Output
- Report
- Study the Network Simulator (NS2) using a simple tcl-script generated network schedule comprising of FTP traffic using TCP packets.
- Additionally, construct a constant bitrate UDP packet traffic directed to the same node
- Sample Output
- Report
- Analyze the difference between the congestion control mechanism offered by Tahoe and Reno TCP agents using NS2.
- Use a network schedule comprising of FTP traffic using TCP packets for the analysis.
- Sample Output
- Report
- Analyze the difference between the the distance-vector and link-state routing protocols when executing two UDP connections in a network using NS2.
- Use a network schedule comprising of FTP traffic using UDP datagrams for the analysis.
- Sample Output
- Report
- Analyze the difference between a TCP and UDP connection sharing a bottle-neck link using NS2.
- Use a network schedule comprising of FTP and CBR traffic for the TCP and UDP networks, respectively.
- Sample Output
- Report