Re: polling an intranet for a device type
- From: "tony@avonwood" <tanda@xxxxxxxxxx>
- Date: Fri, 30 Jan 2009 09:09:13 -0000
Hi Peter,
Many thanks for your response.
We have some new products that are network visible and can have any IP
address available. They respond to Pings, and by compatibility I mean that
they will interpret and respond to specific query's with predefined answers
I need to be able to detect those devices by means of sending either a
single global (network) command and store the IP Addresses of the devices
that respond in the predefined manner, eg. I ask "Are you my new device" and
the response is "Yes I am" (very simplistic).
Alternatively I could query each individual IP address and monitor the
response from that IP Address. If I were to ping each address I would
effectively be doubling the query time as PC's and other network devices,
e.g. printers etc, would also respond to a ping and would then require
additional querying again to determine the device type. Our devices are
programmed to respond to various commands in a predefined way, eg I send a
'?' and the device responds with a firmware version.
Is that a bit more substantial.
TIA
Tony
"Peter Duniho" <NpOeStPeAdM@xxxxxxxxxxxxxxxx> wrote in message
news:op.uoi6yucx8jd0ej@xxxxxxxxxxxxxxxxxxxx
On Thu, 29 Jan 2009 01:13:48 -0800, tony@avonwood <tanda@xxxxxxxxxx>
wrote:
I am looking to poll our internal network for network devices that could
have any IP Address.
Assuming I know the IP range these devices will be within, can someone
point
me to a suitable tutorial where I can learn how to poll the IP Range, and
also query any device found for compatibility.
You'll have to define some terms first. What does it mean to "poll" one
of these devices? Do they respond to an ICMP ping? Or do they require
some specific protocol? What does "query for compatibility" mean?
Compatibility with what?
ICMP isn't hard to do. The System.Net.NetworkInformation.Ping class
provides an easy-to-use form of that. For the other stuff, the Socket
class might be useful, or it might not. I can't tell from your question,
because it's too vague so far. With respect to tutorials, I guess that
depends on what it turns out you're really trying to do. I don't know of
any great ones off the top of my head, but surely if we can get the
question described in a more specific way, Google can be helpful in
finding resources.
Pete
.
- Follow-Ups:
- Re: polling an intranet for a device type
- From: Peter Duniho
- Re: polling an intranet for a device type
- References:
- polling an intranet for a device type
- From: tony@avonwood
- Re: polling an intranet for a device type
- From: Peter Duniho
- polling an intranet for a device type
- Prev by Date: Re: Linq
- Next by Date: Re: Linq
- Previous by thread: Re: polling an intranet for a device type
- Next by thread: Re: polling an intranet for a device type
- Index(es):
Relevant Pages
|