3

Here is my Scenario:

I have one Device that has app "a" installed on it.

I have one or more Devices that have app "b" installed.

I would like the devices with app "b" to be able to send a signal to app "a" to "register" the device. From app "a" i would like to be able to send messages back to some or all of the the devices. i was wondering if anyone knew any examples of this and the best way to go around doing it.

I have looked into Text Message and Bluetooth but I am looking for something along the lins of Direct connection, treating app "a" as a server. I have looked briefly into sockets and was wondering peoples opinion of the best way to do this.

Thank you in advance.

Roboute Guilliman
  • 233
  • 1
  • 2
  • 14

1 Answers1

0

You can host a Http server (NanoHttp for example) on a and send standard http requests from b to a. You can refer to this post to learn more about the different Http servers.

Community
  • 1
  • 1
cyc115
  • 635
  • 2
  • 14
  • 27