RawIpClose

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.