Get list of devices in local network (LAN)? [duplicate]
Asked Answered
B

2

7

I'm looking for a way to find all devices (especially printers) in the local area network (LAN).

Is there are way to differentiate between printers and other devices (smartphones, laptops, computers, etc.)?

Begotten answered 25/4, 2012 at 7:20 Comment(2)
try looking at this question: https://mcmap.net/q/1627340/-android-find-upnp-devices-from-networkStabile
Do you want to do service discovery or would you just like to see available network endpoints on the local network?Downwash
N
2

What if you try this? http://jmdns.sourceforge.net/

JmDNS is a Java implementation of multi-cast DNS and can be used for service registration and discovery in local area networks. JmDNS is fully compatible with Apple's Bonjour.

Neocene answered 11/5, 2012 at 20:27 Comment(0)
C
1

you should use Network Service Discovery

https://developer.android.com/training/connect-devices-wirelessly/nsd.html

Clot answered 9/12, 2017 at 8:17 Comment(0)

© 2022 - 2024 — McMap. All rights reserved.