Skip to main content
Known Participant
May 14, 2013
Question

DatagramSocket on mobile AIR 3.8

  • May 14, 2013
  • 1 reply
  • 3578 views

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 has been closed for replies.

1 reply

Pahup
Adobe Employee
Adobe Employee
May 15, 2013

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

-Pahup

lewispeelAuthor
Known Participant
May 15, 2013

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?

Pahup
Adobe Employee
Adobe Employee
May 15, 2013

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

-Pahup