9

Can Asio or Boost.Asio be used in iPhone or Android development? I'm considering using it so I don't need to use different network libraries for each of my targeted platforms.

NmdMystery
  • 2,778
  • 3
  • 32
  • 60
stephenteh
  • 483
  • 1
  • 5
  • 8
  • for iPhone development, this question has already been asked http://stackoverflow.com/questions/1577838/how-to-build-boost-libraries-for-iphone – Sam Miller Jun 19 '10 at 19:28
  • Do you want to write native apps for android? – Janusz Jun 23 '10 at 11:45
  • my plan just now is to get a working code in Windows (mobile and desktop) using Boost Asio. Then I would like to cross-compile the same source to iPhone. Then hopefully not require a lot of code changes to compile the same source in Android. – stephenteh Jun 28 '10 at 12:37
  • Yes, I'm using Asio for both. – Igor R. Jan 12 '14 at 10:54
  • yes. it works really well on ios and android. just that you have to compile asio for both the platforms – TheWaterProgrammer Oct 08 '18 at 19:08

1 Answers1

-3

You should abstract your Network Classes to use the one provided by the APIs

Enzo
  • 3
  • 1