Simple Module TCPApp

File: Applications/TCPApp/TCPApp.ned

Template for TCP applications.

This is not an actual module type. It only shows which gates an TCP app needs, to be able to be used in StandardHost etc.

Usage diagram:

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.

Used in compound modules:

If a module type shows up more than once, that means it has been defined in more than one NED file.

StandardHost

IP host with TCP, UDP layers and applications.

MobileHost

Models a mobile host with a wireless (802.11b) card. This module is a WirelessHost less the PPP and Ethernet interfaces, plus mobility support (BasicMobility). It is intended mainly for mobile ad-hoc networks.

WirelessHost2

Models a host with zero, one or more wireless (802.11b) cards. This module is a variation of WirelessHost.

WirelessHost

Models a host with one wireless (802.11b) card. This module is basically a StandardHost with a Nic80211 added.

StandardHost6

IPv6 host with TCP, UDP layers and applications.

Gates:

Name Direction Description
tcpIn input
tcpOut output

Source code:

simple TCPApp
    gates:
        in: tcpIn;
        out: tcpOut;
endsimple