public inbox for cygwin@cygwin.com
 help / color / mirror / Atom feed
* icmp again..
@ 1997-10-17  8:23 Martin Svenningsson
  1997-10-17 23:26 ` Winsock2 jman
  1997-10-20 14:39 ` icmp again Tim Newsham
  0 siblings, 2 replies; 4+ messages in thread
From: Martin Svenningsson @ 1997-10-17  8:23 UTC (permalink / raw)
  To: gnu-win32; +Cc: jockep

Hello.

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

The icmp.h and ip_icmp.h is empty, and I read in this lists archive that
winsock don't handle ICMP in the same way as unix, but there was .h's
fixing it and calling icmp.dll(?). The guy who wrote that mail said that I
(well, us;P) should search for a file named ICMP_API.ZIP, but I can't find
anyting named that nor something like it.

I found a ms_icmp.h somewhere, but gcc don't like it.

Will be glad if someone can help me :)

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.

Thanx.

________________________________________________
IRL  : Martin Svenningsson - Helsingborg, SWEDEN
URL  : http://www.tripnet.se/~emmess/ - go visit
IRC  : EmmEss on irc.dal.net and irc.valhall.net
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".

^ permalink raw reply	[flat|nested] 4+ messages in thread

* Winsock2
  1997-10-17  8:23 icmp again Martin Svenningsson
@ 1997-10-17 23:26 ` jman
  1997-10-20 14:39 ` icmp again Tim Newsham
  1 sibling, 0 replies; 4+ messages in thread
From: jman @ 1997-10-17 23:26 UTC (permalink / raw)
  To: gnu-win32; +Cc: jockep

-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

Will we see the use of winsock2 in the future (b19) releases of great 
cygwin32 tools... Winsock2 is out for win95 an winNT allready has it 
an it does support raw sockets or most of them.. I know there's a few 
problems with UDP an IPPROTO_RAW. Will we see it in use?
-----BEGIN PGP SIGNATURE-----
Version: PGP for Personal Privacy 5.0
Charset: noconv

iQA/AwUBNEhWfA6ne3t4b32aEQKsRQCglwl6CuolUEQCdeOa/KP7oIO72N0AoJZD
W7nu4N3gtj04EThbKMjkwxsU
=XRmZ
-----END PGP SIGNATURE-----

-------------------------------------------------------
Jason L. Esman aka _Jman  Owner Den Internet Services
System Admin. Network Consulting 
http://www.deninc.com | UIN: 2820043
Email jman@lx.net or root@lx.net
Finger jman@lx.net for PGP Public Keys... 
-------------------------------------------------------
-
For help on using this list (especially unsubscribing), send a message to
"gnu-win32-request@cygnus.com" with one line of text: "help".

^ permalink raw reply	[flat|nested] 4+ messages in thread

* Re: icmp again..
  1997-10-17  8:23 icmp again Martin Svenningsson
  1997-10-17 23:26 ` Winsock2 jman
@ 1997-10-20 14:39 ` Tim Newsham
  1 sibling, 0 replies; 4+ messages in thread
From: Tim Newsham @ 1997-10-20 14:39 UTC (permalink / raw)
  To: Martin Svenningsson; +Cc: gnu-win32, jockep

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

^ permalink raw reply	[flat|nested] 4+ messages in thread

* Re: icmp again..
@ 1997-10-21  8:54 creitzel
  0 siblings, 0 replies; 4+ messages in thread
From: creitzel @ 1997-10-21  8:54 UTC (permalink / raw)
  To: gnu-win32

Check out Chris Becke's page on icmp programing at
http://www.dbn.lia.net/chris/icmp.html .  He has hacked the add-on DLL
Windows uses to handle ICMP packets.  The page has a .ZIP file containing
source and a decent discussion of what's involved.

Cheers,
Charlie
creitzel@mediaone.net

At 08:39 AM 10/20/97 -1000, you wrote:
>> 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".
>

-
For help on using this list (especially unsubscribing), send a message to
"gnu-win32-request@cygnus.com" with one line of text: "help".

^ permalink raw reply	[flat|nested] 4+ messages in thread

end of thread, other threads:[~1997-10-21  8:54 UTC | newest]

Thread overview: 4+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
1997-10-17  8:23 icmp again Martin Svenningsson
1997-10-17 23:26 ` Winsock2 jman
1997-10-20 14:39 ` icmp again Tim Newsham
1997-10-21  8:54 creitzel

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).