On 2013-12-12, Chris Angelico <[email protected]> wrote:
> Now, if you want reliability AND datagrams, it's a lot easier to add
> boundaries to a TCP stream (sentinel or length prefixes) than to add
> reliability to UDP...
It's unfortunate that there's no standardized reliable
connection-oriented datagram protocol. The linux kernel implements
one for Unix domain sockets (SOCK_SEQPACKET), and its really, really
useful.
Adding boundaries to a TCP stream achieves the same goal (and isn't
that hard to do), but since there's no standard for it, people keep
having to reinvent it (often badly and always incompaibly).
--
Grant Edwards grant.b.edwards Yow! Hello... IRON
at CURTAIN? Send over a
gmail.com SAUSAGE PIZZA! World War
III? No thanks!
--
https://mail.python.org/mailman/listinfo/python-list