?
Solved

Network Discovery

Posted on 2014-08-08
3
Medium Priority
?
243 Views
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.
0
Comment
Question by:Basicfarmer
  • 2
3 Comments
 
LVL 96

Accepted Solution

by:
Bob Learned earned 2000 total points
ID: 40250496
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)
http://wiki.wireshark.org/SSDP

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

Local network discovery done correctly
https://software.intel.com/en-us/blogs/2009/12/08/local-network-discovery-done-correctly
0
 

Author Comment

by:Basicfarmer
ID: 40264071
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.
0
 

Author Closing Comment

by:Basicfarmer
ID: 40267011
Very useful information, thanks for the response...
0

Featured Post

Get free NFR key for Veeam Availability Suite 9.5

Veeam is happy to provide a free NFR license (1 year, 2 sockets) to all certified IT Pros. The license allows for the non-production use of Veeam Availability Suite v9.5 in your home lab, without any feature limitations. It works for both VMware and Hyper-V environments

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Go is an acronym of golang, is a programming language developed Google in 2007. Go is a new language that is mostly in the C family, with significant input from Pascal/Modula/Oberon family. Hence Go arisen as low-level language with fast compilation…
Real-time is more about the business, not the technology. In day-to-day life, to make real-time decisions like buying or investing, business needs the latest information(e.g. Gold Rate/Stock Rate). Unlike traditional days, you need not wait for a fe…
The goal of this video is to provide viewers with basic examples to understand and use conditional statements in the C programming language.
The viewer will learn how to implement Singleton Design Pattern in Java.
Suggested Courses
Course of the Month16 days, 19 hours left to enroll

862 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