Autodiscovery of LAN devices
Bob Sneidar
bobsneidar at iotecdigital.com
Mon Oct 31 11:05:53 EDT 2016
Typically only with aggressive scans. You can throttle it down so that you don't trigger the threshold level. But you are correct, that no matter what, some IT people are VERY AGGRESSIVE about blocking network discovery. But this has always been the case with non-agent type network discovery systems.
As for Bonjour, if all you want is to enumerate mDNS devices visible on a network, try dns-sd -B in the terminal. You need to issue a ctrl-c afterwards though, otherwise I'm not sure the terminal will return anything. Not sure how to ctrl-c from LC's shell.
Bob S
On Oct 27, 2016, at 23:57 , Peter TB Brett <peter.brett at livecode.com<mailto:peter.brett at livecode.com>> wrote:
On 28/10/2016 01:58, Richard Gaskin wrote:
Armed with that I just attempt a TCP connection to each device in turn,
looking for a specific reply. When I get what I expect, I know I've
reached my app on the other machine. Takes less than a second to scan
the network.
Note that more advanced organisational networks' self-protection logic will (correctly) interpret this as a port scan and will automatically turn off your connection.
You really do need Zeroconf/Bonjour/Avahi/mDNS/etc. support...
Peter
--
Dr Peter Brett <peter.brett at livecode.com<mailto:peter.brett at livecode.com>>
More information about the use-livecode
mailing list