Skip to content

Programs, reports, documentation, and screenshots implemented and designed for the laboratory coursework in UCS1511: Computer Networks course.

Notifications You must be signed in to change notification settings

karthik-d/Computer-Networks-LabWork

Repository files navigation

UCS1511: Computer Networks - Lab Work

Programs, reports, documentation, and output screenshots implemented and designed for the laboratory coursework in UCS1511: Computer Networks.

Link to Documentation of All Experiments

Experiments

All experiment reports can be found here.

Networking Functions using System Calls in C

  1. Theoretical Study


  2. 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

  3. 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

  4. ARP Simulation

  • 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

  1. DNS Simulation
  • 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

  1. Hamming Code for Error Correction
  • Implement Hamming Code for Single Error Correction using C socket program.
  • Use a TCP-based transmission server to exchange messages.
  • Sample Output
  • Report

  1. HTTP Web Client
  • 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

Network Simulations and Analyses using NS2 and NAM

  1. Simple Network Simulation using NS2 and NAM
  • 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

  1. Congestion Control
  • 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

  1. Routing Protocols
  • 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

  1. Comparison and TCP and UDP Protocols
  • 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