tech-net archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
Re: so_rerror
he%uninett.no@localhost (Havard Eidnes) writes:
>I'm with Christos: if you want some sort of reliability and still
>insists on using UDP, you need a protocol layer above UDP, with
>sequencing, retransmissions, performance enhancements with large
>windows, flow control, fairness, etc., so ... perhaps the insistence
>on UDP isn't well-thought-out and instead TCP begins to make more
>sense as a choice?
It is a choice, syslog uses datagrams by default so that it may
drop messages and more important, that it doesn't tie the sender
with retries.
So this isn't about reliable transport but only about reporting
transport losses. The ENOBUFS receive error however doesn't solve
this except for the different case of messages on the routing
socket. For the specific implementation of the routing socket this
is apparently the only kind of loss that can happen.
I don't think it's the best solution for the routing socket though,
but it avoids some compatibility problems. For UDP it's useless.
--
--
Michael van Elst
Internet: mlelstv%serpens.de@localhost
"A potential Snark may lurk in every tree."
Home |
Main Index |
Thread Index |
Old Index