MACROMEDIA FLASH MEDIA SERVER 2-SERVER-SIDE ACTIONSCRIPT LANGUAGE Reference page 221

Server-side actionscript language reference
Table of Contents

Advertisement

XMLSocket.connect()
Availability
Flash Media Server 2.
Usage
myXMLSocket.connect(host, port)
Parameters
A string; a fully qualified DNS domain name or an IP address in the form
host
aaa.bbb.ccc.ddd. You can also specify
A number; the TCP port number on the host used to establish a connection. The port
port
number must be 1024 or greater.
Returns
A Boolean value;
true
Description
Method; establishes a connection to the specified Internet host using the specified TCP port
(must be 1024 or higher), and returns
successfully established. If you don't know the port number of the Internet host computer,
contact your network administrator.
If you specify
for the
null
The server-side ActionScript
are not in the same domain as the SWF file.
The client-side ActionScript
information, see the XMLSocket class in
If
XMLSocket.connect()
successful; later, the
XMLSocket.onConnect
connection succeeded or failed. If
not be established.
to connect to the local host.
null
if successful,
if not.
false
true
parameter, the local host is contacted.
host
XMLSocket.connect()
XMLSocket.connect()
returns a value of
true
XMLSocket.connect()
or
depending on whether a connection is
false,
method can connect to computers that
method has restrictions. For more
ActionScript 2.0 Language Reference
, the initial stage of the connection process is
handler is invoked to determine whether the final
returns
.
, a connection could
false
XMLSocket class
221

Advertisement

Table of Contents
loading
Need help?

Need help?

Do you have a question about the FLASH MEDIA SERVER 2-SERVER-SIDE ACTIONSCRIPT LANGUAGE and is the answer not in the manual?

Subscribe to Our Youtube Channel

This manual is also suitable for:

Flash media server 2

Table of Contents