MC-Basic:CONNECT

From SoftMC-Wiki
Revision as of 16:00, 13 December 2010 by Arwiebe (talk | contribs) (Created page with '{{MC-Basic |SHORT FORM= |SYNTAX= Connect(#<''device number''>, <''ip address''>,<''port number''>) |AVAILABILITY= |DESCRIPTION= Request a TCP connection from the remote host…')
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Jump to: navigation, search

Request a TCP connection from the remote host.

Function               Request TCP connection from 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