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


RawIpClose

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

This procedure tells the TCP/IP address space that the client does not handle the protocol any longer. Any queued incoming packets are discarded. Figure 1 shows an example of the RawIpClose procedure.

When the client is not handling the protocol, a return code of NOsuchCONNECTION is received.

Figure 1. RawIpClose example
   procedure RawIpClose
            (
                 ProtocolNo: integer;
        var    ReturnCode: integer
            );
            external;
Parameter
Description
ProtocolNo
The number of the Internet protocol.
ReturnCode
Indicates the success or failure of a call. Possible return values are:
  • OK
  • NOsuchCONNECTION
  • NOTyetBEGUN
  • SOFTWAREerror
  • TCPipSHUTDOWN
  • UNAUTHORIZEDuser

For a description of Pascal return codes, see Table 1.

Go to the previous page Go to the next page




Copyright IBM Corporation 1990, 2014