473,395 Members | 1,701 Online
Bytes | Software Development & Data Engineering Community
Post Job

Home Posts Topics Members FAQ

Join Bytes to post your question to a community of 473,395 software developers and data experts.

How to discover devices on network

I am developing an application that must look out over TCP on an
ethernet connection to
locate our proprietary devices. The Web application and the devices
are communicating over ethernet with TCP using known IP addresses at
present. We would like to design a method to discover devices in the
system without knowing their IP addresses. Is there a recommended
protocol for this type of problem or do most develop their own
protocol? Any suggestions on how to do this would be appreciated.

Regards, Stacy

Aug 8 '06 #1
3 2013
You have two choices: either probe for IP addresses on your network or sniff the
traffic to discover them. In the case of the latter, you might try using
WinPcap (http://www.winpcap.org/).

<st***@sensorswitch.comwrote in message
news:11**********************@n13g2000cwa.googlegr oups.com...
>I am developing an application that must look out over TCP on an
ethernet connection to
locate our proprietary devices. The Web application and the devices
are communicating over ethernet with TCP using known IP addresses at
present. We would like to design a method to discover devices in the
system without knowing their IP addresses. Is there a recommended
protocol for this type of problem or do most develop their own
protocol? Any suggestions on how to do this would be appreciated.

Regards, Stacy

Aug 8 '06 #2
Hi,

Thanks for the suggestions, we can modify the devices, we are
developing them ourselves. Are you suggesting the I send a message out
to the subnet broadcast address IE: xxx.xxx.xxx.255? I thought that
UDP was not a guaranteed protocol, in which case, how can I be certain
that all devices do indeed receive and reply to the message?

Thanks again,
Stacy
Vadym Stetsyak wrote:
Hello, st***@sensorswitch.com!

sI am developing an application that must look out over TCP on an
sethernet connection to
slocate our proprietary devices. The Web application and the devices
sare communicating over ethernet with TCP using known IP addresses at
spresent. We would like to design a method to discover devices in the
ssystem without knowing their IP addresses. Is there a recommended
sprotocol for this type of problem or do most develop their own
sprotocol? Any suggestions on how to do this would be appreciated.

IIRC there is no such protocol, but there are number of approaches how to handle the problem.

If you can modify devices ( I mean write additional logic on them ) and web app with devices are in the LAN,
then UDP broadcast/multicast can be used.
Devices will respond to that broadcast.

--
Regards, Vadym Stetsyak
www: http://vadmyst.blogspot.com
Aug 8 '06 #3
On 8 Aug 2006 09:11:05 -0700, "st***@sensorswitch.com"
<st***@sensorswitch.comwrote:
>Hi,

Thanks for the suggestions, we can modify the devices, we are
developing them ourselves. Are you suggesting the I send a message out
to the subnet broadcast address IE: xxx.xxx.xxx.255? I thought that
UDP was not a guaranteed protocol, in which case, how can I be certain
that all devices do indeed receive and reply to the message?
'Not guaranteed' does not mean totally unreliable. Very few
broadcasts fail. Still, all you do is broadcast periodically, once a
minute, or once every ten seconds. You will virtually never miss even
one. Missing three or four in a row is essentially impossible!

Of course, some network administrators take a dim view of broadcasts
and don't let them through the switches so make sure that those
broadcasts on that specific port address are acceptable.
Aug 8 '06 #4

This thread has been closed and replies have been disabled. Please start a new discussion.

Similar topics

0
by: Ashraf Adel | last post by:
Hi all, I am monitoring some network devices using PHP ping. I want to - Initiate email DOWN alarms if the ping failed for 2 consequent times. - Initiate another UP alarm if the device comes...
0
by: abdul bari | last post by:
I am trying to simulate devices connected to a residential home network using .NET, using c#. Can this be reasonably be achieved if for example a UDP Multicast message is used to initially seek out...
12
by: Michael Wimmer | last post by:
Hi, could anybody tell me what the current state of technology for mobile devices is? I have seen so far that there is cHTML (imode), wml, xhtml (full or basic) to be used for mobile devices....
0
by: chaks.yoper | last post by:
hi all, i would like to know whether python can help me querying the network devices attached to my system (ethernet,wireless) and display their module name and vendor name? thank you. ...
1
by: Microsoft | last post by:
In my app I want to create a drop down that lists the available SQL Servers on the Network. How do I discover what servers are out there? This is exactly like when you use File/Connect in Query...
1
by: John Paul. A | last post by:
Hi, I have a 3rd party web service running in a Web Server within our network. The web service sends "Hello" message when joins the network and also sends "Bye" message when leaves the network....
1
by: yawesome | last post by:
I am using Microsoft.VisualBasic.Devices.Network to download a file from a server to a PC and am receiving a 404 error. The file is in teh download location but it has 0kb. Does anyone have any...
25
by: p byers | last post by:
Good Morning Folks I have a LAN Among the several connections to it are the following four devices: A MAXSTOR network Storage Device A PC running Microsoft Windows 2000 Server 5.0.2195 (SP4) A...
1
by: allineed | last post by:
Im doing project which connect a bluetooth module to development board. unfortunely, my python code couldn't discover bluetooth devices. Can anyone help me to check my code ? thx you import...
0
by: ryjfgjl | last post by:
In our work, we often receive Excel tables with data in the same format. If we want to analyze these data, it can be difficult to analyze them because the data is spread across multiple Excel files...
0
by: emmanuelkatto | last post by:
Hi All, I am Emmanuel katto from Uganda. I want to ask what challenges you've faced while migrating a website to cloud. Please let me know. Thanks! Emmanuel
0
BarryA
by: BarryA | last post by:
What are the essential steps and strategies outlined in the Data Structures and Algorithms (DSA) roadmap for aspiring data scientists? How can individuals effectively utilize this roadmap to progress...
1
by: nemocccc | last post by:
hello, everyone, I want to develop a software for my android phone for daily needs, any suggestions?
1
by: Sonnysonu | last post by:
This is the data of csv file 1 2 3 1 2 3 1 2 3 1 2 3 2 3 2 3 3 the lengths should be different i have to store the data by column-wise with in the specific length. suppose the i have to...
0
by: Hystou | last post by:
There are some requirements for setting up RAID: 1. The motherboard and BIOS support RAID configuration. 2. The motherboard has 2 or more available SATA protocol SSD/HDD slots (including MSATA, M.2...
0
marktang
by: marktang | last post by:
ONU (Optical Network Unit) is one of the key components for providing high-speed Internet services. Its primary function is to act as an endpoint device located at the user's premises. However,...
0
jinu1996
by: jinu1996 | last post by:
In today's digital age, having a compelling online presence is paramount for businesses aiming to thrive in a competitive landscape. At the heart of this digital strategy lies an intricately woven...
0
tracyyun
by: tracyyun | last post by:
Dear forum friends, With the development of smart home technology, a variety of wireless communication protocols have appeared on the market, such as Zigbee, Z-Wave, Wi-Fi, Bluetooth, etc. Each...

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.