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


SayPorTy

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

This function returns a printable string describing the port number passed in Port, if it is a well-known port number such as port number 23, the Telnet port. Otherwise, the EBCDIC representation of the number is returned. Figure 1 shows an example of this function.

Figure 1. SayPorTy example
   function SayPorTy
            (
                 Port: PortType
            ):
            WordType;
            external;
Parameter
Description
Port
The port number to be described.

Go to the previous page Go to the next page




Copyright IBM Corporation 1990, 2014