User Tools

Site Tools


Sidebar

Welcome to DIDO WIKI

dido:public:s_cli:05_contents:01_prt:04_dll:networkprotocoltype

4.1 NetworkProtocol

| Examples of Defining Network Protocol Type.
   DEFINE TYPE NetworkProtocol AS 
     ENUM
     WITH CONSTRAINTS
       { { 20 , FTP, "File Transfer Protocol"},
         { 22 , SSH, "Secure Shell"} DEFAULT,
         { 23 , Telnet, "Telnet"},
         { 25 , SMTP, "Simple Mail Transfer Protocol"},
         { 53 , DNS, "Domain Name Service"},
         { 69 , TFTP, "Trivial File Transfer Protocol" },
         { 80 , HTTP, "Hypertext Transfer Protocol" },
         { 110 , POP3, "Post Office Protocol version 3" },
         { 119 , NNTP, "Network News Transport Protocol" },
         { 123 , NTP, "Network Time Protocol" },
         { 143 , IMAP4, "Internet Message Access Protocol version 4" },
         { 443 , HTTPS, "Hypertext Transfer Protocol Secure" }
       )
    VALUE = DEFAULT;
 
   CREATE networkProtocol_1.TextValue NetworkProtocolType = FTP;
   CREATE networkProtocol_2.NumericValue NetworkProtocolType = 20;
   CREATE description Text = networkProtocol_1.DescriptiveText;
dido/public/s_cli/05_contents/01_prt/04_dll/networkprotocoltype.txt · Last modified: 2021/06/15 13:54 by nick
Translations of this page: