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.
procedure RawIpClose
(
ProtocolNo: integer;
var ReturnCode: integer
);
external;
For a description of Pascal return codes, see Table 1.