-1

I'm using CocoaAsyncSocket for a server client application on the iPad. Right now if the server is up the client can type in the IP of the server and connect to it. Is there a way to display all the servers on the local network that are running this app?

Thanks!

Venky
  • 559
  • 7
  • 25
Konrad Wright
  • 1,254
  • 11
  • 24

1 Answers1

1

Looking up devices in own network is easily realized by using zeroconf/bonjour service.

The servers have to run the service and tell the service-name. This can be filtered by the client app.

I cannot promise, but maybe you find something usefull in my question times ago: Clean solution for lookup if extern IP is in own subnet range in objective-c (care, this code will not compile for arm64 architecture and has to be reworked)

Community
  • 1
  • 1
geo
  • 1,781
  • 1
  • 18
  • 30