Difference between revisions of "MC-Basic:OPENSOCKET"

From SoftMC-Wiki
Jump to: navigation, search
Line 48: Line 48:
  
 
|SEE ALSO=
 
|SEE ALSO=
* [[Axystems:MC-Basic:CLOSE|CLOSE]]
+
* [[MC-Basic:CLOSE|CLOSE]]
 
* [[Axystems:MC-Basic:CONNECT|CONNECT]]
 
* [[Axystems:MC-Basic:CONNECT|CONNECT]]
 
* [[MC-Basic:ACCEPT|ACCEPT]]
 
* [[MC-Basic:ACCEPT|ACCEPT]]

Revision as of 08:36, 22 May 2014

Creates a TCP socket and put socked descriptor to the specified device handle.

Syntax

OpenSocket Options=<num> as # <device number>

Type

Options  : Long

<device number> : Long

Range

Options:       0: data is buffered until buffer if full or time-out is reached, this mode shall be used to improve network utilization

1: NO_DELAY. Send data immediately.

<device number> :   1 to 255

Default

Options:       0

Scope

Task/Terminal

Limitations

Errors:                 Could not create socket.

Invalid options.

Examples

OpenSocket Options=1 as #1

See Also