I have to integrate a WebsocketServer into an existing Air-AS3-Project. We decided to use the server implementation here ( https://github.com/childoftv/as3-websocket-server