Re: Autodiscovery of LAN devices

2016-10-31 Thread Richard Gaskin
Bob Sneidar wrote: > You must not have my latest. Thanks! > Keep in mind that this function requires a CIDR notation or else the > IP and subnet mask. Nothing can calculate the subnet with only an IP > address. True, but so far I'm able to get those easily enough with shell calls on Windows,

Re: Autodiscovery of LAN devices

2016-10-31 Thread Bob Sneidar
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 sys

Re: Autodiscovery of LAN devices

2016-10-31 Thread Bob Sneidar
You must not have my latest. Keep in mind that this function requires a CIDR notation or else the IP and subnet mask. Nothing can calculate the subnet with only an IP address. Bob S function IPCalc theIPAddress, theSubnetMask /* IPCalc yyy Syntax: IPCalc theIPAddress, [theSubnet

Re: Autodiscovery of LAN devices

2016-10-28 Thread Richard Gaskin
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 ne

Re: Autodiscovery of LAN devices

2016-10-28 Thread Peter TB Brett
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 org

Re: Autodiscovery of LAN devices

2016-10-27 Thread Richard Gaskin
Thanks, Alex. I may need something more refined later on, but for now my modest needs appear to be well met through simple brute force: At the moment this is for some network tools for students to use in a classroom. Ideally there would be no Internet connection, just a local network of a sm

Re: Autodiscovery of LAN devices

2016-10-27 Thread Alex Tweedly
Richard, it might help if you were to more precisely describe the problem you are seeking to solve. If you need to discover all/any/arbitrary listeners - then "what Bob said". If you need to discover listeners for a specific port/service provided by some other apps/servers in a standard way

Re: Autodiscovery of LAN devices

2016-10-27 Thread Bob Sneidar
Unless network devices are listening through their firewall, this can prove difficult. Spiceworks has a network scanner system that is extremely robust, you may want to look into how they do that. Basically, you can attempt to connect using WMIC on Windows, SSL on *nix systems, snmp for printers

Re: Autodiscovery of LAN devices

2016-10-27 Thread Monte Goulding
There’s a feature request open for cross platform bonjour/zeroconf. That’s what you want for this. We have mergBonjour for iOS and OS X at present. Cheers Monte > On 28 Oct. 2016, at 8:12 am, Richard Gaskin > wrote: > > I'd like to have an app automatically discover and attempt connection to

Autodiscovery of LAN devices

2016-10-27 Thread Richard Gaskin
I'd like to have an app automatically discover and attempt connection to other devices on my LAN. Looking through the list archives I can find a few half-solutions, but not one which works well across the platforms LC supports (Mac, Win, Linux, iOS, Android). At this time the only things lis