From: newsham@aloha.net (Tim Newsham)
Subject: Re: icmp again..
20 Oct 1997 17:57:55 -0700
Message-ID: <199710201839.IAA16200.cygnus.gnu-win32@haleakala.aloha.net>
References: <3.0.3.32.19971017172211.00919940@triton.tripnet.se>
Mime-Version: 1.0
Content-Type: text/plain; charset=US-ASCII
Content-Transfer-Encoding: 7bit
To: emmess@bml.se.org (Martin Svenningsson)
Cc: gnu-win32@cygnus.com, jockep@algonet.se

> Hello.
> 
> I wonder if someone can tell me how to use ICMP with cygnus wunderful gcc.exe.

You can use winsock functions in the normal (socket) way to write
icmp packets out.  Unfortunately the winsock functions are
somewhat of a hack for reading back packets.  It appears that
you only get packets back in a recv that are a response to
a ping icmp packet you sent out.  In other words, it's almost
completely unusable for reading icmps.

> btw, im trying to port the icmpinfo-1.11, which is an excellent
> icmp-logger. If someone already ported it (or simular) please let me know.

Winsock is incapable of reading arbitrary icmps so you would
need some other way to read icmps to make an icmp logger.

> IRL  : Martin Svenningsson - Helsingborg, SWEDEN
> MAIL : emmess@triton.tripnet.se - finger for PGP
-
For help on using this list (especially unsubscribing), send a message to
"gnu-win32-request@cygnus.com" with one line of text: "help".
