Skip navigation
fredrossperry2
Currently Being Moderated

AIR/iOS: ServerSockect breaks on deactivate/suspend?

Nov 18, 2013 10:52 AM

Tags: #air #flex-mobile #ios

Building an iOS app using FlashBuilder 4.7 and Apache Flex 4.11.

Using ServerSocket to make an in-app HTTP server so I can use

StageWebView to view HTML5/Javascript content that's built into

the app.  Works great until I hit the screen lock button on the iPad.

After that point my ServerSocket stops working.

 

On Event.ACTIVATE, I can create a new ServerSocket on a different

port, and that works.  But the previous ServerSocket won't, nor can

I destroy it and start a new one on the SAME port (which is really

what I need to do).

 

Thoughts?  Questions?  thanks.

 

More Like This

  • Retrieving data ...

Bookmarked By (0)

Answers + Points = Status

  • 10 points awarded for Correct Answers
  • 5 points awarded for Helpful Answers
  • 10,000+ points
  • 1,001-10,000 points
  • 501-1,000 points
  • 5-500 points