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 />

0 - Non-Blocking The function will return immediately if there is no data in the<br />

socket. If the max_read_size parameter is greater than the socket<br />

buffer then just the socket buffer will be returned.<br />

1 - Blocking If there is no data in the socket, the function will block until data<br />

is put into the socket on the other end. It will return up to the<br />

max_read_size character setting.<br />

Mode Return Status<br />

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

Return Code Status<br />

0 Success.<br />

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

readSocket Return Codes<br />

readSocket 1-639

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

Saved successfully!

Ooh no, something went wrong!