tech-net archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

Re: EHOSTDOWN on unconnected UDP6



hannken%eis.cs.tu-bs.de@localhost ("J. Hannken-Illjes") writes:

>> EHOSTDOWN is the result of a received "address unreachable" ICMPv6 packet,
>> there is no corresponding IPv4 message.

>Ok, but why do we deliver this error asynchronously to an
>udp6 socket that is bound but not connected.

>How should the server know which of the messages
>it sent failed?

If I read the code correctly, the socket destination address
is set in the PCB when you send a message, and is searched
later when a notification should be delivered to the socket.

So you get the error for the last destination.

-- 
-- 
                                Michael van Elst
Internet: mlelstv%serpens.de@localhost
                                "A potential Snark may lurk in every tree."


Home | Main Index | Thread Index | Old Index