Subject: Re: accept(2) behaviour.
To: None <thorpej@nas.nasa.gov>
From: Darren Reed <darrenr@reed.wattle.id.au>
List: tech-net
Date: 06/29/1999 10:06:01
In some email I received from Jason Thorpe, sie wrote:
> On Tue, 29 Jun 1999 01:48:19 +1000 (EST)
> Darren Reed <darrenr@reed.wattle.id.au> wrote:
>
> > In lieu of there not being a flag for "listen" being supported by the
> > xxx_usrreq function, would checking if PR_CONNREQUIRED or PR_WANTRCVD
> > are set be appropriate for determining if EOPNOTSUPP should be returned ?
>
> 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 ?
Darren