This is the mail archive of the
cygwin@sourceware.cygnus.com
mailing list for the Cygwin project.
Re: icmp again..
- To: emmess at bml dot se dot org (Martin Svenningsson)
- Subject: Re: icmp again..
- From: Tim Newsham <newsham at aloha dot net>
- Date: Mon, 20 Oct 1997 08:39:05 -1000 (HST)
- Cc: gnu-win32 at cygnus dot com, jockep at algonet dot 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".