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.
function SayProTy
(
Protocol: ProtocolType
):
WordType;
external;