Table of Contents

4.2 Port

Return to DidoDLL

Purpose

Return to Top

The DEFINE PORT Command is to define a named Port Number for use within a DIDO Node in the Node Network. The Port can be used by Distributed Application (ĐApp or DApp) which run on the Node.

Syntax

Return to Top

DEFINE PORT  <PortName> AS
  PROTOCOL   = <ProtocolName>
  NUMBER     = <PortNumber>;

Where

Examples

Return to Top

| Examples of Defining Port Numbers in DidoLL
    DEFINE PORT http AS
      protocol  = TCP
      port      = 8080;
 
    DEFINE PORT Discovry AS
      protocol  = UDP
      port      = 30301;