Data Transfer between iOS and PC over WiFi

855 views Asked by At

I Need to create an iOS application and a PC application, the two need to be able to exchange data over Wi-Fi (either direct or via a wifi router).

The iOS app will act as a remote control for some of the features of the PC app, for instance, if a video is playing on the pc application then the iOS app will have buttons to control playback on the PC such as play, pause, stop etc, when one of these buttons is pressed then I need to send some bytes to the pc over wifi.

My questions are:

  • how should I go about sending data - Wifi direct or via wifi network that both devices are connected to?

  • can anyone help with example code to connect or send data to a specific device over wifi for either methods?

to be clear, I don't need help with creating the applications themselves - only the wireless transfer of data between the devices using the Wi-Fi radio whether it be direct or via a router.

The main question: is it possible to initiate a connection/send bytes under iOS over wi-fi to a pc on the same network or via wifi direct?

Help with the method to do this or example code would be helpful.

0

There are 0 answers