From mboxrd@z Thu Jan 1 00:00:00 1970 X-Msuck: nntp://news.gmane.org/gmane.linux.lib.musl.general/12082 Path: news.gmane.org!.POSTED!not-for-mail From: "Laurent Bercot" Newsgroups: gmane.linux.lib.musl.general Subject: Re: Add SOCK_STREAM support for syslog Date: Sat, 11 Nov 2017 00:29:25 +0000 Message-ID: References: <1510319851.23177.3.camel@mittwald.de> <20171110140749.GC15263@port70.net> <20171110171406.GQ1627@brightrain.aerifal.cx> Reply-To: musl@lists.openwall.com NNTP-Posting-Host: blaine.gmane.org Mime-Version: 1.0 Content-Type: text/plain; format=flowed; charset=utf-8 Content-Transfer-Encoding: quoted-printable X-Trace: blaine.gmane.org 1510360175 19630 195.159.176.226 (11 Nov 2017 00:29:35 GMT) X-Complaints-To: usenet@blaine.gmane.org NNTP-Posting-Date: Sat, 11 Nov 2017 00:29:35 +0000 (UTC) User-Agent: eM_Client/7.1.30794.0 To: musl@lists.openwall.com Original-X-From: musl-return-12098-gllmg-musl=m.gmane.org@lists.openwall.com Sat Nov 11 01:29:32 2017 Return-path: Envelope-to: gllmg-musl@m.gmane.org Original-Received: from mother.openwall.net ([195.42.179.200]) by blaine.gmane.org with smtp (Exim 4.84_2) (envelope-from ) id 1eDJfw-0004wD-8O for gllmg-musl@m.gmane.org; Sat, 11 Nov 2017 01:29:32 +0100 Original-Received: (qmail 32672 invoked by uid 550); 11 Nov 2017 00:29:37 -0000 Mailing-List: contact musl-help@lists.openwall.com; run by ezmlm Precedence: bulk List-Post: List-Help: List-Unsubscribe: List-Subscribe: List-ID: Original-Received: (qmail 32647 invoked from network); 11 Nov 2017 00:29:36 -0000 In-Reply-To: <20171110171406.GQ1627@brightrain.aerifal.cx> Xref: news.gmane.org gmane.linux.lib.musl.general:12082 Archived-At: >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