11.04.2013 Views

UniBasic Commands Reference - Rocket Software

UniBasic Commands Reference - Rocket Software

UniBasic Commands Reference - Rocket Software

SHOW MORE
SHOW LESS

You also want an ePaper? Increase the reach of your titles

YUMPU automatically turns print PDFs into web optimized ePapers that Google loves.

openSecureSocket function<br />

Syntax<br />

openSecureSocket(name_or_IP, port, mode, timeout, socket_handle, context)<br />

Description<br />

Use the openSecureSocket() function to open a secure socket connection in a<br />

specified mode and return the status.<br />

This function behaves exactly the same as the openSocket() function, except that it<br />

returns the handle to a socket that transfers data in a secured mode (SSL/TLS).<br />

All parameters (with the exception of context) have the exact meaning as the<br />

openSocket() parameters. Context must be a valid security context handle.<br />

Once the socket is opened, any change in the associated security context will not<br />

affect the established connection.<br />

Parameters<br />

The following table describes each parameter of the syntax.<br />

Parameter Description<br />

1-537 <strong>UniBasic</strong> <strong>Commands</strong> <strong>Reference</strong><br />

name_or_IP DNS name (x.com) or IP address of a server.<br />

port Port number. If the port number is specified as a value

Hooray! Your file is uploaded and ready to be published.

Saved successfully!

Ooh no, something went wrong!