SayProTy

This function converts the protocol type specified by Protocol to a printable string, if it is a well-known protocol number, such as 6 (TCP). Otherwise, the EBCDIC representation of the number is returned. Figure 1 shows an example of this function.

Figure 1. SayProTy example
   function SayProTy
            (
                 Protocol: ProtocolType
            ):
            WordType;
            external;
Parameter
Description
Protocol
The number of the protocol to be described.