Subject: Re: accept(2) behaviour.
To: Darren Reed <darrenr@reed.wattle.id.au>
From: Jason Thorpe <thorpej@nas.nasa.gov>
List: tech-net
Date: 06/28/1999 17:11:57
On Tue, 29 Jun 1999 10:06:01 +1000 (EST)
Darren Reed <darrenr@reed.wattle.id.au> wrote:
> > Why not add a flag?
>
> Well, that can be done, sure. But looking at what's there, it already seems
> like PR_CONNREQUIRED supplies the same information as another flag saying
> "listen/accept supported". I guess the question is would using that flag
> for that purpose be a misuse of it ?
Not only do I think it's a misuse of "connection required", but what
about e.g. connected UDP sockets? Can you listen(2) on them?
-- Jason R. Thorpe <thorpej@nas.nasa.gov>