Autodiscovery of LAN devices

Richard Gaskin ambassador at fourthworld.com
Fri Oct 28 10:32:51 EDT 2016


Peter TB Brett 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.

Indeed. Fortunately the router's not connected to any other network, and 
we own it.


 > You really do need Zeroconf/Bonjour/Avahi/mDNS/etc. support...

Bonjour sounds lovely, but one of the requirements of the system we're 
building is that it exists. :)

I'm not sure if Monte's Bonjour external is available in the Community 
Edition (is there a page somewhere that lists which features of which 
externals are available in which LC editions?).

But even if it is, it covers only Apple-branded OSes, and we need 
something that covers all the platforms LiveCode supports.

I may get back to exploring why UDP broadcasting didn't seem to work for 
me, but for now at least I have a means of automated discovery on our 
modest local network that lets us explore the other parts to see if 
LiveCode will be a good fit for what we need to do (the Raspberry Pi 
requirement may be a deal-breaker anyway, but we're considering other 
tools as a Plan B if we can't resolve the RPi crasher in LC).

--
  Richard Gaskin
  Fourth World Systems
  Software Design and Development for the Desktop, Mobile, and the Web
  ____________________________________________________________________
  Ambassador at FourthWorld.com                http://www.FourthWorld.com





More information about the use-livecode mailing list