Network Device Discovery

前端 未结 2 1233
执笔经年
执笔经年 2021-02-09 01:40

For my Android app, users need to connect to a server that will be hosted somewhere on the same LAN. There can be multiple servers hosted on the same LAN. To make it easy for

相关标签:
2条回答
  • 2021-02-09 02:14

    You would run the jDMs or other service on your local area network as a background service or a dameon.

    0 讨论(0)
  • 2021-02-09 02:22

    Well, jmDNS is a complete Java library that you could use for your setup. It can be used to braodcast your services which other clients can search for.

    Bounjour service on windows is a bit tricky, although it's definitely possible. The easier way, I would say is to use jmDNS for broadcast and discovery for both your servers and clients.

    0 讨论(0)
提交回复
热议问题