ActionScript 3.0 Reference 对以下内容进行了说明flash.net.NetConnection
:
The NetConnection class creates a two-way connection between a client and a server. The client can be a Flash Player or AIR application. The server can be a web server, Flash Media Server, an application server running Flash Remoting, or the Adobe Stratus service. Call NetConnection.connect() to establish the connection.
这是否意味着我使用NetConnection
对象与任何 Web 服务器建立常规 HTTP 连接?我对此有点困惑,因为在该connect()
方法的部分后面说connect(): Creates a two-way connection to an application on Flash Media Server or to Flash Remoting, or creates a two-way network endpoint for RTMFP peer-to-peer group communication....Pass an "http" URL to connect to an application server running Flash Remoting.
。那么,应用服务器一定要有Flash Remoting吗?