Skip to content

Commit

Permalink
examples: added inet/tcpthroughput
Browse files Browse the repository at this point in the history
For studying how TCP (and its various flavors) tolerate long link delays.
  • Loading branch information
avarga committed Sep 25, 2023
1 parent 319976d commit 7040c90
Show file tree
Hide file tree
Showing 4 changed files with 1,368 additions and 0 deletions.
29 changes: 29 additions & 0 deletions examples/inet/tcpthroughput/ClientServer.ned
Original file line number Diff line number Diff line change
@@ -0,0 +1,29 @@
//
// Copyright (C) 2000 Institut fuer Telematik, Universitaet Karlsruhe
//
// SPDX-License-Identifier: LGPL-3.0-or-later
//
//

package inet.examples.inet.tcpthroughput;

import inet.networklayer.configurator.ipv4.Ipv4NetworkConfigurator;
import inet.node.inet.StandardHost;
import ned.DatarateChannel;


network ClientServer
{
submodules:
client1: StandardHost {
@display("p=250,150;i=device/pc3");
}
server: StandardHost {
@display("p=400,150;i=device/pc2");
}
configurator: Ipv4NetworkConfigurator {
@display("p=100,100;is=s");
}
connections:
client1.pppg++ <--> { datarate = 10Mbps; } <--> server.pppg++;
}
Loading

0 comments on commit 7040c90

Please sign in to comment.