Reliability and acknowledgement protocols.
Reliability and acknowledgement protocols.
A collection of networking exercises across Java and C++, covering packet transmission, reliability protocols, error detection, token passing and client–server communication.
*File metrics count tracked files after excluding common generated build folders. The project status is an editable draft classification.
Capabilities evidenced by project documentation and source structure; some behaviours require platform configuration.
Reliability and acknowledgement protocols.
Error checking and packet management.
Distributed/client–server exercises across Java and C++.
Technical architecture drawn from the repository and supplied documentation.
The project uses C++, Java, Networking as its documented technical foundation.
The source tree and supplied README describe the primary modules; individual files and runtime behaviour may vary by platform.
Selective-repeat ARQ message and ACK loss simulation
static class Packet {
final int id;
boolean acked = false;
int sendCount = 0;
long lastSentTime = 0;
Packet(int id) { this.id = id; }
}
private static boolean sendAndReceive(
Packet p, double pLoss, double ackLoss, Random rnd) {
p.sendCount++;
p.lastSentTime = System.currentTimeMillis();
if (rnd.nextDouble() < pLoss) return false;
if (rnd.nextDouble() < ackLoss) return false;
return true;
}
Selective Repeat simulates data-packet and acknowledgement loss separately.
p.sendCount++;
p.lastSentTime = System.currentTimeMillis();
if (rnd.nextDouble() < pLoss) return false;
if (rnd.nextDouble() < ackLoss) return false;
return true;
Screenshots from supplied documentation and repository media. Missing visuals remain placeholders rather than invented screens.
To fill this space, add an approved screenshot with the exact filename shown below. The site currently displays a neutral placeholder.
assets/img/projects/computer-networks/screenshot-01.webp
Technology overview: C++, Java, Networking. The list reflects documented tools, dependencies and proposed components; for planned projects it does not prove implementation.
File types identified: 5 .java, 3 .cpp
Explore the public repository, source code and project documentation on GitHub.