Skip to content
Snippets Groups Projects
Commit f17123c1 authored by Ion-Dorinel FILIP (25005)'s avatar Ion-Dorinel FILIP (25005)
Browse files

Update file README.md

parent 009f5cb2
No related branches found
No related tags found
No related merge requests found
...@@ -14,7 +14,7 @@ Topology: ...@@ -14,7 +14,7 @@ Topology:
client <--> router <--> server client <--> router <--> server
Link 1 - 10 Mbps, 5ms delay, 0% packet loss (parameters set at topo.py:57) Link 1 - 10 Mbps, 5ms delay, 0% packet loss (parameters set at topo.py:57)
Link 2 - 10 Mbps, 5ms delay, 0% packet loss (parameters set at topo.py:60)a Link 2 - 10 Mbps, 5ms delay, 0% packet loss (parameters set at topo.py:60)
client IP (h1) - 192.168.1.100 client IP (h1) - 192.168.1.100
...@@ -37,6 +37,8 @@ t = queue_deq(datagram_queue) ...@@ -37,6 +37,8 @@ t = queue_deq(datagram_queue)
Our protocol implementation will have the following datagram structure over UDP: Our protocol implementation will have the following datagram structure over UDP:
```C ```C
#define MAXSIZE 1024
struct seq_udp { struct seq_udp {
uint32_t len; uint32_t len;
char payload[MAXSIZE]; char payload[MAXSIZE];
...@@ -60,7 +62,7 @@ the server from `h2`. ...@@ -60,7 +62,7 @@ the server from `h2`.
To run a benchmark, use: To run a benchmark, use:
```bash ```bash
make run_benchmark sudo python3 topo.py benchmark
``` ```
## C++ ## C++
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment