Package: inet.applications.sctpapp
SctpNatServer
simple module(no description)
Inheritance diagram
The following diagram shows inheritance relationships for this type. Unresolved types are missing from the diagram.
Parameters
Name | Type | Default value | Description |
---|---|---|---|
localAddress | string | "" |
may be left empty ("") |
localPort | int | 0 |
port number to listen on |
numPacketsToSendPerClient | int | 0 |
number of requests sent per session |
numPacketsToReceivePerClient | int | 1 | |
requestLength | int | 1452 |
length of a request (bytes) |
waitToClose | double | 0s |
time to wait between last message sent and abort |
outboundStreams | int | 1 | |
inboundStreams | int | 1 | |
ordered | bool | true |
Gates
Name | Direction | Size | Description |
---|---|---|---|
socketIn | input | ||
socketOut | output |
Source code
simple SctpNatServer like IApp { parameters: string localAddress = default(""); // may be left empty ("") int localPort = default(0); // port number to listen on int numPacketsToSendPerClient = default(0); // number of requests sent per session int numPacketsToReceivePerClient = default(1); int requestLength = default(1452); // length of a request (bytes) double waitToClose @unit(s) = default(0s); //time to wait between last message sent and abort int outboundStreams = default(1); int inboundStreams = default(1); bool ordered = default(true); gates: input socketIn; output socketOut; }File: src/inet/applications/sctpapp/SctpNatServer.ned