Difference between revisions of "MC-Basic:CONNECT"

From SoftMC-Wiki
Jump to: navigation, search
m (Miborich moved page Axystems:MC-Basic:CONNECT to MC-Basic:CONNECT: Global renaming of Axystems: namespace into (Main):)
Line 45: Line 45:
 
|SEE ALSO=
 
|SEE ALSO=
 
* [[MC-Basic:CLOSE|CLOSE]]
 
* [[MC-Basic:CLOSE|CLOSE]]
* [[Axystems:MC-Basic:OPENSOCKET|OPENSOCKET]]
+
* [[MC-Basic:OPENSOCKET|OPENSOCKET]]
 
* [[MC-Basic:ACCEPT|ACCEPT]]
 
* [[MC-Basic:ACCEPT|ACCEPT]]
 
* [[Axystems:MC-Basic:PING|PING]]
 
* [[Axystems:MC-Basic:PING|PING]]

Revision as of 08:39, 22 May 2014

Requests a TCP connection from the remote host.

Syntax

Connect(#<device number>, <ip address>,<port number>)

Type

<device number>: Long
<port number>: Long
<ip address>: string

Range

<device number>: 1 to 255

<ip address>: IP address

<port number>: TCP port

Scope

Task

Limitations

  • Task only
  • Errors: Cannot connect

Examples

Connect(#1,”212.25.84.109”,65456)

See Also