Represents a client in the network simulation.
Definition client.h:24
void execHTTPRequest(const IPAddress &address, const QString &uri)
Sends an HTTP request to the specified IP address and URI.
Definition client.cpp:86
Client()=default
Default constructor.
void execDomainResolution(const QString &domain)
Initiates a domain name resolution.
Definition client.cpp:14
void execCloseConnection(const IPAddress &address)
Closes the connection to the specified IP address.
Definition client.cpp:118
void execHandShake(const IPAddress &address)
Initiates a TCP handshake to the specified IP address.
Definition client.cpp:53
void receivePackage(Package data) override
Receives a package and processes based on its type.
Definition client.cpp:150
Represents a network host that can communicate through routers.
Definition host.h:32
NetworkCard networkCard() const
Retrieve the network card.
Definition host.cpp:15
Represents an IPv4 address.
Definition ipaddress.h:27
Represents a virtual network card with network and physical address capabilities.
Definition networkcard.h:27
Represents a network package.
Definition package.h:28
The Host class implements a host in the network.