{"id":23773017,"url":"https://github.com/adsh16/computernetworks","last_synced_at":"2026-04-02T10:30:19.519Z","repository":{"id":269407170,"uuid":"907317215","full_name":"adsh16/ComputerNetworks","owner":"adsh16","description":"This repository showcases assignments from a Computer Networks course, covering key concepts such as UDP-based Ping and Heartbeat systems, Go-Back-N ARQ protocol implementation, and network performance simulation using NS-3. It includes practical demonstrations of network reliability, congestion management, and performance analysis through hands-on","archived":false,"fork":false,"pushed_at":"2024-12-23T10:13:28.000Z","size":100738,"stargazers_count":0,"open_issues_count":0,"forks_count":0,"subscribers_count":1,"default_branch":"master","last_synced_at":"2025-02-21T05:15:40.798Z","etag":null,"topics":["computer-network","cpp","go-back-n","network-simulation","ns3","python"],"latest_commit_sha":null,"homepage":"","language":"Python","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":null,"status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/adsh16.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":null,"code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null}},"created_at":"2024-12-23T10:08:58.000Z","updated_at":"2024-12-23T10:15:49.000Z","dependencies_parsed_at":"2024-12-23T11:33:00.432Z","dependency_job_id":null,"html_url":"https://github.com/adsh16/ComputerNetworks","commit_stats":null,"previous_names":["adsh16/computernetworks"],"tags_count":0,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/adsh16%2FComputerNetworks","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/adsh16%2FComputerNetworks/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/adsh16%2FComputerNetworks/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/adsh16%2FComputerNetworks/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/adsh16","download_url":"https://codeload.github.com/adsh16/ComputerNetworks/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":239958307,"owners_count":19724926,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2022-07-04T15:15:14.044Z","host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":["computer-network","cpp","go-back-n","network-simulation","ns3","python"],"created_at":"2025-01-01T05:22:00.684Z","updated_at":"2026-04-02T10:30:19.454Z","avatar_url":"https://github.com/adsh16.png","language":"Python","readme":"# Computer Networks Assignments\n\nThis repository contains the implementations and reports for three assignments from the Computer Networks course. Each assignment explores fundamental networking concepts through hands-on coding and simulation exercises.\n\n## Table of Contents\n1. [UDP Ping and Heartbeat Systems](#udp-ping-and-heartbeat-systems)\n2. [Go-Back-N Protocol Implementation](#go-back-n-protocol-implementation)\n3. [Network Simulation using NS-3](#network-simulation-using-ns-3)\n\n---\n\n### UDP Ping and Heartbeat Systems\n\n**Objective:**  \nThis assignment focuses on implementing two UDP-based applications: a Ping system and a Heartbeat system, demonstrating basic principles of network programming and handling unreliable connections.\n\n**Key Features:**\n- **Ping System:** Simulates packet loss (30%), measures Round Trip Time (RTT), and calculates packet loss statistics.\n- **Heartbeat System:** Monitors server availability through periodic UDP messages, detecting downtime after consecutive missed responses.\n\n**Highlights:**\n- Simulated real-world network conditions with a 30% packet loss rate.\n- Developed client-server programs for both Ping and Heartbeat systems.\n- Provided detailed statistics, including RTT and packet loss rate.\n\n---\n\n### Go-Back-N Protocol Implementation\n\n**Objective:**  \nThe goal was to implement the Go-Back-N ARQ protocol for reliable data transmission over an unreliable network.\n\n**Key Features:**\n- Reliable retransmission of lost or corrupted packets.\n- Sliding window mechanism to optimize throughput.\n- Robust error handling to ensure data integrity.\n\n**Highlights:**\n- Simulated sender and receiver interactions using the protocol.\n- Demonstrated sequence number management and acknowledgment mechanisms.\n\n---\n\n### Network Simulation using NS-3\n\n**Objective:**  \nThis assignment involved simulating a computer network using the NS-3 simulator to evaluate network performance under various traffic conditions.\n\n**Key Features:**\n- **Topology:** Modeled a network with 4 routers and 5 workstations.\n- **Traffic Simulation:** Used Poisson-distributed traffic patterns.\n- **Performance Metrics:** Analyzed delay, packet drops, and queue statistics.\n\n**Highlights:**\n- Simulated realistic network scenarios with RED (Random Early Detection) queue management.\n- Measured the impact of traffic on end-to-end delays and packet loss.\n- Gained insights into congestion management techniques.\n\n---\n\n## Conclusion\n\nThese assignments provided hands-on experience with critical networking concepts, including UDP-based communication, ARQ protocols, and network simulation tools like NS-3. Each project offered practical insights into network behavior and performance optimization.\n","funding_links":[],"categories":[],"sub_categories":[],"project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fadsh16%2Fcomputernetworks","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fadsh16%2Fcomputernetworks","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fadsh16%2Fcomputernetworks/lists"}