Re: icmp on NT

Juergen Schoenwaelder (schoenw@gaertner.de)
Sat, 7 Jun 1997 13:33:18 +0200

Scott Swigart <sms@plaza.ds.adp.com> said:

Scott> I noticed that the icmp command doesn't work on NT (as is
Scott> noted in the documentation). My simple question is "Why not?"

Scott> Does anyone know if there is a patch that will get icmp
Scott> working? What are the issues that make icmp unique?

Sending icmp messages is special on nealrly every OS because ICMP is
closely related to the IP network layer and the socket interface
usually provides you access to the transport layer (mainly udp and
tcp). Those systems that give you a "raw" socket interface to build
custom IP datagrams do it in all kind of different ways.

Mircosoft does not provide a "raw" socket interface. Instead, there is
an undocumented library (icmp.dll) which everybody seems to use. Note
also that the icmp command is able to send requests to multiple hosts
interleaved. The Mircosoft library has a blocking entry point which
means that you have to start several threads in order to implement the
icmp command. We have been through all this and the next version will
give you the icmp functionality on NT, with some minor restrictions.
(You can't ask for netmasks because thats not supported by the
undocumented Mircosoft library.)
Juergen

-- 
Juergen Schoenwaelder     <schoenw@gaertner.de>     (Tel: +49-531-23873-0)
Gaertner Datensysteme, Hamburger Strasse 273a, 38114 Braunschweig, Germany
--
!! This message is brought to you via the `tkined & scotty' mailing list.
!! Please do not reply to this message to unsubscribe. To subscribe or
!! unsubscribe, send a mail message to <tkined-request@ibr.cs.tu-bs.de>.
!! See http://wwwsnmp.cs.utwente.nl/~schoenw/scotty/ for more information.