Skip to main content
Known Participant
May 14, 2013 8:33 PM UTC
Question

DatagramSocket on mobile AIR 3.8

I've created a really basic project to test the DatagramSocket in AIR 3.8 & Flash Player 11.8, but the DatagramSocket.isSupported property is coming back as false...even though Adobe says it is supported on Android & iOS.

Another new feature is ServerSocket, when I trace that out it comes back as true. Has anyone had trouble using this?

Capabilities.version = IOS 11,8,800,49

NativeApplication.nativeApplication.runtimeVersion = 3.8.0.440

DatagramSocket.isSupported = false
ServerSocket.isSupported = true

This topic is closed to new replies. Start a new post to keep the conversation going.

14 replies

Pahup
Adobe Employee
Adobe Employee
May 15, 2013 3:40 AM UTC

You need to be on 21 swf version, please set -swf-version=21 in your compiler options.

-Pahup

Translate
lewispeelAuthor
Known Participant
May 15, 2013 8:33 AM UTC

Hi Pahup,

Thanks for you reply. I've tried adding that compiler argument but it didn't fix it. What confuses me is that I'm seeing 11.8.800.49 when I trace out the player version...isn't that correct for -swf-version=21?

Translate
Pahup
Adobe Employee
Adobe Employee
May 15, 2013 12:44 PM UTC

And how about the namespace of your AIR application, is it 3.8?

-Pahup

Translate