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.

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

Mode Return Status<br />

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

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

0 - Non-blocking The function will return immediately regardless of whether or not the<br />

socket is successfully opened. The return code inidcates if the<br />

operation is successful. The timeout value is ignored.<br />

1 - Blocking If a positive timeout is specified, the function will either return with<br />

a valid socket handle or will time out after the specified timeout<br />

period. If the timeout value is 0, the function will block until either<br />

the socket is successfully opened, the underlying TCP/IP connection<br />

times out or some other error prevents the socket from opening.<br />

Mode Return Status<br />

Return Code Status<br />

0 Success.<br />

Non-zero See Socket Function Error Return Codes.<br />

openSocket Return Codes

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

Saved successfully!

Ooh no, something went wrong!