The procedure shown in Figure 1 closes the UDP socket specified in the ConnIndex field. All incoming datagrams on this connection are discarded.
procedure UdpClose
(
ConnIndex: ConnectionIndexType;
var ReturnCode: CallReturnCodeType
);
external;
For a description of Pascal return codes, see Table 1.