This is the mail archive of the cygwin@sourceware.cygnus.com mailing list for the Cygwin project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]

Re: icmp again..


> 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".


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]