Simple Module SCTPNatServer

Package: inet.applications.sctpapp
File: src/inet/applications/sctpapp/SCTPNatServer.ned

C++ definition

(no description)

SCTPNatServer

Usage diagram:

The following diagram shows usage relationships between types. Unresolved types are missing from the diagram.

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
sctpIn input
sctpOut output

Source code:

simple SCTPNatServer like ISCTPApp
{
    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 sctpIn;
        output sctpOut;
}