[OpenAFS-devel] dcerpc.net - freedce
Marcus Watts
mdw@umich.edu
Tue, 21 Aug 2001 14:29:55 -0400
Ken Hornstein <kenh@cmf.nrl.navy.mil> sent:
>
> >RX is screwed 2 ways: (1) there's no good portable way (I
> >think) to capture ICMP responses to UDP packets that bounce, and (2) RX
>
> If you connect() a UDP socket to a particular destination address, you
> can then get the ICMP errors upon calls to read(). Of course, then
> you're using one descriptor per connection, and that would really bite
> in the case of the AFS fileserver, for example ...
Right, there are lots of bad ways. You still don't actually get the
ICMP error or packet, just an "errno" error, which is why it's not
useful (or possible) for unconnected UDP sockets. It is useful
(sometimes) to DNS...
-Marcus Watts
UM ITCS Umich Systems Group