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.

openSocket<br />

Syntax<br />

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

Note: This function is case-sensitive. If you want it to be case-insensitive, you<br />

must compile your programs using the BASIC command with the -i option.<br />

Description<br />

Use the openSocket function to open a socket connection in a specified mode and<br />

return the status.<br />

Parameters<br />

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

Parameter Description<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!