Previous Topic: ParametersNext Topic: Parameters


CLOSE

CLOSE deletes the socket descriptor from the internal descriptor table maintained for the application program and terminates the existence of the communications endpoint. If the socket was connected, the connection is terminated in an orderly fashion.

Assembler

label    #SOCKET CLOSE,
               RETCODE=return-code,
               ERRNO=errno,
               RSNCODE=reason-code,
               SOCK=socket-descriptor,
               PLIST=parameter-list-area,
               RGSV=(rgsv)

List of USING Parameters

SOCKET-FUNCTION-CLOSE,
return-code,
errno,
reason-code,
socket-descriptor