lkml.org 
[lkml]   [2000]   [Oct]   [24]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
From
SubjectRe: syslog() blocks on glibc 2.1.3 with kernel 2.2.x
Date
Followup to:  <20001023223209.A847@ping.be>
By author: Kurt Roeckx <Q@ping.be>
In newsgroup: linux.dev.kernel
>
> On Mon, Oct 23, 2000 at 03:58:39PM -0400, Patrick J. LoPresti wrote:
> > "David S. Miller" <davem@redhat.com> writes:
> >
> > > SOCK_DGRAM over AF_UNIX is reliable, it's a local transport.
> >
> > This is contrary to the documentation ("man socket"). The behavior
> > you describe is what I would expect for SOCK_SEQPACKET, not
> > SOCK_DGRAM.
>
> SOCK_DGRAM is only as reliable as the underlying protocol. If the
> unerlying one is not reliable, neither is SOCK_DGRAM. It will not
> do anything to make it more reliable, unlike others.
>

Again, SOCK_DGRAM is reliable over AF_UNIX, because AF_UNIX does not
implement any nonreliable transports.

-hpa

--
<hpa@transmeta.com> at work, <hpa@zytor.com> in private!
"Unix gives you enough rope to shoot yourself in the foot."
http://www.zytor.com/~hpa/puzzle.txt
-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@vger.kernel.org
Please read the FAQ at http://www.tux.org/lkml/

\
 
 \ /
  Last update: 2005-03-22 12:41    [W:0.101 / U:5.896 seconds]
©2003-2018 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site