z/OS Communications Server: IP Sockets Application Programming Interface Guide and Reference
Previous topic | Next topic | Contents | Contact z/OS | Library | PDF


SayProTy

z/OS Communications Server: IP Sockets Application Programming Interface Guide and Reference
SC27-3660-00

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.

Go to the previous page Go to the next page




Copyright IBM Corporation 1990, 2014