Mixed TechnologiesCompletedDeep Blue theme

Computer Networks

A collection of networking exercises across Java and C++, covering packet transmission, reliability protocols, error detection, token passing and client–server communication.

C++JavaNetworking
CNComputer Networks
C++Main technology
20Tracked files*
5.java files
3.cpp files

*File metrics count tracked files after excluding common generated build folders. The project status is an editable draft classification.

01 · What it does

What the application does

Capabilities evidenced by project documentation and source structure; some behaviours require platform configuration.

01

Reliability and acknowledgement protocols.

Reliability and acknowledgement protocols.

02

Error checking and packet management.

Error checking and packet management.

03

Distributed/client–server exercises across Java and

Distributed/client–server exercises across Java and C++.

02 · Technical structure

How the system works

Technical architecture drawn from the repository and supplied documentation.

01

The project uses C++, Java, Networking as its documented technical foundation.

02

The source tree and supplied README describe the primary modules; individual files and runtime behaviour may vary by platform.

04 · Source and design

Implementation examples and code walkthrough

Selective-repeat ARQ message and ACK loss simulation

Tema 3 RC/src/main/java/rc_teme/SelectiveRepeatARQ.javaVerified GitHub source excerpt (abridged)
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;
}

Simulating packet loss

Java

Selective Repeat simulates data-packet and acknowledgement loss separately.

Tema 3 RC/src/main/java/rc_teme/SelectiveRepeatARQ.javaSelected source excerpt
p.sendCount++;
p.lastSentTime = System.currentTimeMillis();
if (rnd.nextDouble() < pLoss) return false;
if (rnd.nextDouble() < ackLoss) return false;
return true;
06 · Technology

Programming languages & stack

C++
Java
Networking

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

07 · Reality check

Status, evidence & limitations

The project status is based on repository sources and supplied documentation. It may be updated as the project evolves. A published case study is not a certification of production readiness.
  • Features are based on the supplied README and code inventory; no end-to-end runtime certification is implied.
08 · Resources

Project resources

Explore the public repository, source code and project documentation on GitHub.