Skip to main content
IGZN
Inspiring
April 22, 2016
Question

ServerSocket no longer accepts connections (AIR21 and AIR22)

  • April 22, 2016
  • 1 reply
  • 259 views

Hello,

I've just updated our desktop software to AIR 21, and ServerSocket connections are no longer being made. I also tested it with AIR22 and still no luck.

If I revert back to AIR 20, everything works as expected.

Code sample:

serverSocket = new ServerSocket();

serverSocket.bind( port );

serverSocket.addEventListener( ServerSocketConnectEvent.CONNECT, onSocketConnect );

serverSocket.addEventListener( Event.CLOSE, onSocketServerClose );

serverSocket.listen();

The event ServerSocketConnectEvent.CONNECT never fires, and Socket clients can't connect.

This topic has been closed for replies.

1 reply

IGZN
IGZNAuthor
Inspiring
April 22, 2016

Note: same thing happens on both Windows and OSX