PickBASIC / FlashBASIC
%close_ssl() function
.mdThe %close_ssl function closes the socket specified by the fd file descriptor, as well as the secure connection specified by the ssl_fd descriptor. The fd file descriptor is returned by a previous call to %socket whereas the ssl_fd descriptor is returned buy a previous call to %accept_ssl() or %connect_ssl.
Note: To use this function, the OpenSSL libraries must be
installed.
Syntax
var = %close_ssl(fd, ssl_fd)Parameter(s)
| fd | File descriptor of the local socket returned by a previous call to the FlashBASIC C function %socket(). |
| ssl_fd | File descriptor of the Secure connection. |