Initial support for AIR

This commit is contained in:
Joshua Granick
2017-08-24 12:50:13 -07:00
parent f2a8092834
commit 9991e99fee
186 changed files with 2590 additions and 68 deletions

View File

@@ -0,0 +1,13 @@
package flash.net;
extern class ServerSocket extends flash.events.EventDispatcher {
var bound(default,never) : Bool;
var listening(default,never) : Bool;
var localAddress(default,never) : String;
var localPort(default,never) : Int;
function new() : Void;
function bind(localPort : Int=0, localAddress : String= "0.0.0.0") : Void;
function close() : Void;
function listen(backlog : Int=0) : Void;
static var isSupported(default,never) : Bool;
}