delorie.com/archives/browse.cgi   search  
Mail Archives: cygwin/1997/10/20/17:57:55

From: newsham AT aloha DOT 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 DOT 0 DOT 3 DOT 32 DOT 19971017172211 DOT 00919940 AT triton DOT tripnet DOT se>
Mime-Version: 1.0
To: emmess AT bml DOT se DOT org (Martin Svenningsson)
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 AT triton DOT tripnet DOT se - finger for PGP
-
For help on using this list (especially unsubscribing), send a message to
"gnu-win32-request AT cygnus DOT com" with one line of text: "help".

- Raw text -


  webmaster     delorie software   privacy  
  Copyright © 2019   by DJ Delorie     Updated Jul 2019