11.04.2013 Views

UniBasic Commands Reference - Rocket Software

UniBasic Commands Reference - Rocket Software

UniBasic Commands Reference - Rocket Software

SHOW MORE
SHOW LESS

Create successful ePaper yourself

Turn your PDF publications into a flip-book with our unique Google optimized e-Paper software.

Parameter Description<br />

timeout The timeout value, expressed in milliseconds. If you specify<br />

mode as 0, timeout will be ignored.<br />

socket_handle A handle to the open socket.<br />

context A handle to the security context<br />

openSecureSocket Parameters (continued)<br />

The following table describes the return status of each mode.<br />

Return<br />

Code Description<br />

0 Success.<br />

1-41 See Socket Function Error Return Codes.<br />

101 Invalid security context handle.<br />

102 SSL/TLS handshake failure (unspecified, peer is<br />

not SSL aware).<br />

103 Requires client authentication but does not have<br />

a certificate in the security context.<br />

104 Unable to authenticate server.<br />

Return Code Status<br />

openSecureSocket function 1-538

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

Saved successfully!

Ooh no, something went wrong!