[lkml]   [2000]   [Oct]   [23]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
Messages in this thread
SubjectRe: syslog() blocks on glibc 2.1.3 with kernel 2.2.x
"David S. Miller" <> 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

Is the Linux behavior even consistent with POSIX? You are saying that
SOCK_DGRAM behaves fundamentally differently for local connections
than for remote ones; in particular, the latter *do not block* while
the former do. Even if this is standard, it ought to be documented

I am pretty sure other Unixes do not behave like Linux does here (when
I ask for SOCK_DGRAM, I expect fast, non-blocking, unreliable
delivery), but perhaps I am wrong.

- Pat
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to
Please read the FAQ at

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