メッセージ送受信部分を作って完成。 メッセージの受信 メッセージの受信は、 ServerSocket待ち受け ServerSocketのConnectイベントで通信用Socket取得 受け取ったSocketにSocketData取得用のListener登録 メッセージ受信 といった流れ。 initializeで待ち受け開始して、 private function initializeLogic():void { .... serverSocket = new ServerSocket(); serverSocket.addEventListener(ServerSocketConnectEvent.CONNECT, serverSocket_connectHandler); serverSocket.bind( PORT_TALK ); serverSocket.listen(); ...