From: "Laurent Bercot" <ska-dietlibc@skarnet.org>
To: musl@lists.openwall.com
Subject: Re: Add SOCK_STREAM support for syslog
Date: Sat, 11 Nov 2017 00:29:25 +0000 [thread overview]
Message-ID: <em4c47c609-49fe-4dc9-905f-e2a91586668b@elzian> (raw)
In-Reply-To: <20171110171406.GQ1627@brightrain.aerifal.cx>
>I suspect and seem to remember (but haven't looked at it lately) that
>SOCK_STREAM has some undesirable properties from a standpoint of
>logging and that SOCK_DGRAM is what you want if possible.
Oh really? I would very much like to hear what those "undesirable
properties" are. AIUI, datagrams are specified as unreliable, which
is exactly what you *don't* want when logging, so it beats me why
people would ever prefer SOCK_DGRAM over SOCK_STREAM. I suspect the
answer is close to "because traditional syslogd is easier to implement
with datagrams", which I do not hold in much regard.
--
Laurent
next prev parent reply other threads:[~2017-11-11 0:29 UTC|newest]
Thread overview: 6+ messages / expand[flat|nested] mbox.gz Atom feed top
2017-11-10 13:17 Jan Horstmann
2017-11-10 14:07 ` Szabolcs Nagy
2017-11-10 17:14 ` Rich Felker
2017-11-11 0:29 ` Laurent Bercot [this message]
2017-11-11 0:41 ` Rich Felker
2017-11-11 1:29 ` Laurent Bercot
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=em4c47c609-49fe-4dc9-905f-e2a91586668b@elzian \
--to=ska-dietlibc@skarnet.org \
--cc=musl@lists.openwall.com \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
Code repositories for project(s) associated with this public inbox
https://git.vuxu.org/mirror/musl/
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).