SYS_CLOSE

Syntax

int_val = SYS_CLOSE( socket );
Input arguments
int socket Determines the socket to be closed.

Return Values

Success:
int 0 Socket closed successfully.
Failure:
int -1 Script interface error.
int -2 Invalid socket.

Description

This function closes a socket created by a previous call to SYS_CONNECT.