Network Discovery

Posted on 2014-08-08
Last Modified: 2014-08-17
Experts, I have an application that connects to multiple industrial machines. In my application i have a form where the admin setups up the machines by adding the name of the machine and the ip address of the machine. I store those in an xml file and that is how my application knows what machines to communicate with.

But I have a machine here in our shop that came with some software. I dont have to tell that software anything, as soon as i start the software assuming my pc is on the network with the machine, the software finds it and shows it in a list.

How could I implement something like this for my application. I know what ports my machines will be communicating on, and i know the communications protocol.
Question by:Basicfarmer
    LVL 96

    Accepted Solution

    There are some possibilities, but the exact implementation depends on your network capabilities.  I have no idea what your configuration is like, and how that auto-discovery works.

    Simple Service Discovery Protocol (SSDP)

    The SSDP protocol can discover Plug & Play devices, with uPnP (Universal Plug and Play). SSDP uses unicast and multicast adress ( SSDP is HTTP like protocol and work with NOTIFY and M-SEARCH methods.

    Local network discovery done correctly

    Author Comment

    My apologies for neglecting this question. I have been unable to respond due to a personal matter. I will review your material this weekend and close this question.

    Author Closing Comment

    Very useful information, thanks for the response...

    Write Comment

    Please enter a first name

    Please enter a last name

    We will never share this with anyone.

    Featured Post

    How to run any project with ease

    Manage projects of all sizes how you want. Great for personal to-do lists, project milestones, team priorities and launch plans.
    - Combine task lists, docs, spreadsheets, and chat in one
    - View and edit from mobile/offline
    - Cut down on emails

    There is an easy way, in .NET, to centralize the treatment of all unexpected errors. First of all, instead of launching the application directly in a Form, you need first to write a Sub called Main, in a module. Then, set the Startup Object to th…
    This article will show, step by step, how to integrate R code into a R Sweave document
    The goal of the video will be to teach the user the concept of local variables and scope. An example of a locally defined variable will be given as well as an explanation of what scope is in C++. The local variable and concept of scope will be relat…
    The viewer will be introduced to the technique of using vectors in C++. The video will cover how to define a vector, store values in the vector and retrieve data from the values stored in the vector.

    779 members asked questions and received personalized solutions in the past 7 days.

    Join the community of 500,000 technology professionals and ask your questions.

    Join & Ask a Question

    Need Help in Real-Time?

    Connect with top rated Experts

    14 Experts available now in Live!

    Get 1:1 Help Now