Application layer; demonstrates how the socket interface can be used to talk to BSDStack.
The "dest" parameter (which is a string) specifies connections and traffic to be generated. The syntax:
CONNECT <StartTime> <NumPackets> <PacketSize> <DestinationIP> <DestinationPort>
LISTEN <AcceptTime> <NumPackets> <PacketSize> <ListenPort>
The parameter may contain several of such statements concatenated.
**.dest="CONNECT 2 100 1000 220.127.116.11 2000 " **.dest="LISTEN 1.5 1 1000 2000 "
The following diagram shows usage relationships between modules, networks and channels. Unresolved module (and channel) types are missing from the diagram. Click here to see the full picture.
If a module type shows up more than once, that means it has been defined in more than one NED file.
Represents a host with a BSD network stack.
specifies connections and traffic (see above)
simple FileTransferAppl parameters: dest : string; // specifies connections and traffic (see above) gates: out: out; in: in; endsimple