[p2p-hackers] ICMP on Win32
David Barrett
dbarrett at quinthar.com
Sun May 8 21:43:40 UTC 2005
Hi Will. I'm using Win32, but I'd love to hear how you do it with .NET as I
assume they're very similar.
Essentially, I want to send a UDP datagram, and have some indication if it
arrived. Normally, I'd need to rely exclusively on my own ACKs. However,
it's my understanding that ICMP can *sometimes* give me feedback, such as if
the target address doesn't exist, or if it hit a snag along the way.
Have you any idea how to do this? What else have you done with ICMP?
-david
_____
From: Will Morton [mailto:will at memefeeder.com]
Sent: Sunday, May 08, 2005 8:19 AM
To: David Barrett
Subject: Re: [p2p-hackers] ICMP on Win32
Hi David;
Are you using Win32 native or .NET? If it's .NET I can probably help,
but I've avoided the native network layer like the proverbial plague. :o)
Will
On 7 May 2005, at 05:44, David Barrett wrote:
Does anyone here have experience receiving ICMP feedback for UDP packets on
Win32?
I don't know much about the topic (and am wondering if anyone who does know
can tell me whether it's worth learning), but I'm interested in learning
about UDP delivery failures, network congestion, timeouts, and so on.
However, I've read it requires the use of "raw" sockets, which I've
elsewhere read are being slowly prohibited - I think started with WinXP SP2.
Anyway, can you recommend any good resources? My ultimate goal is to weave
this into my reliable UDP layer, but I'd like to hear from those who have
gone before to see if it's worth the bother.
-david
_______________________________________________
p2p-hackers mailing list
p2p-hackers at zgp.org
http://zgp.org/mailman/listinfo/p2p-hackers
_______________________________________________
Here is a web page listing P2P Conferences:
http://www.neurogrid.net/twiki/bin/view/Main/PeerToPeerConferences
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://zgp.org/pipermail/p2p-hackers/attachments/20050508/2efa3a27/attachment.htm
More information about the P2p-hackers
mailing list