next up previous contents
Next: create Up: Methods Previous: close   Contents

connect

Description

Establishes a connection to a socket.


Syntax

socket.connect(address, port)


Parameters

address
String. Specifies the network address of the socket to which this object is connected. Such as ”°www.swfkit.com”±,
ftp.microsoft.com, or ”°218.5.79.162".
port
Integer. Specifies the port to connect.


Returns

Boolean.




Copyright ©2000-2010 Shanghai TopCMM Software Technologies. All Rights Reserved.