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 available options (case-sensitive) for<br />

setSocketOptions.<br />

Option Description<br />

DEBUG Enable/disable recording of debug information.<br />

REUSEADDR Enable/disable the reuse of a location address (default)<br />

KEEPALIVE Enable/disable keeping connections alive.<br />

DONTROUTE Enable/disable routing bypass for outgoing messages.<br />

LINGER Linger on close if data is present.<br />

BROADCAST Enable/disable permission to transmit broadcast messages.<br />

OOBINLINE Enable/disable reception of out-of-band data in band.<br />

SNDBUF Set buffer size for output (default 4KB).<br />

RCVBUF Set buffer size for input (default 4KB).<br />

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

setSocketOptions Return Codes<br />

setSocketOptions 1-737

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

Saved successfully!

Ooh no, something went wrong!