0

I'm a newbie developer especially in networking and I have read a lot and searched a lot about it but using https://github.com/robbiehanson/CocoaAsyncSocket seems to me to be the only solution to send an image/Data through P2P through the internet between two iOS devices .... am I right? But its very complicated and I was wondering if there is a simpler library that could do the job? I appreciate any help.

rmaddy
  • 314,917
  • 42
  • 532
  • 579
Reza.Ab
  • 1,195
  • 1
  • 11
  • 21
  • 1
    which protocol do you want to implement when sending data between devices? – Raptor Jun 20 '18 at 01:55
  • TCP @Raptor and thanks for caring – Reza.Ab Jun 20 '18 at 02:00
  • Do you think using this library is the best way to do it? @Raptor Most questions are about offline P2P. I would really appreciate your help. – Reza.Ab Jun 21 '18 at 15:06
  • You can use AirDrop (https://github.com/maximbilan/ios_airdrop_custom_data) or Push Notification (if the data size is not large) as well. Try to use existing feature of iOS. – Raptor Jun 22 '18 at 02:21
  • @Raptor what i want is p2p over the internet.... Not offline – Reza.Ab Jun 22 '18 at 02:27

0 Answers0