Highlighted

ServerSocket no longer accepts connections (AIR21 and AIR22)

Participant ,
Apr 22, 2016

Copy link to clipboard

Copied

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.

TOPICS
Performance issues

Views

175

Likes

Translate

Translate

Report

Report
Community Guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more

ServerSocket no longer accepts connections (AIR21 and AIR22)

Participant ,
Apr 22, 2016

Copy link to clipboard

Copied

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.

TOPICS
Performance issues

Views

176

Likes

Translate

Translate

Report

Report
Community Guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
Apr 22, 2016 0
IGZN LATEST
Participant ,
Apr 22, 2016

Copy link to clipboard

Copied

Note: same thing happens on both Windows and OSX

Likes

Translate

Translate

Report

Report
Community Guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
Reply
Loading...
Apr 22, 2016 0