lkml.org 
[lkml]   [2009]   [Jan]   [14]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
Date
From
SubjectRe: [PATCH] sctp: if backlog is 0, listening shall not be deactivated.
Alan Cox wrote:
>> However SCTP API explicitly states that when the backlog is 0, listening is
>> disabled. Here is an excerpt from the draft describing this:
>
> POSIX is an established standard, SCTP is a draft proposal. POSIX should
> win. The SCTP developers need to bring their draft API into alignment with
> POSIX.
>
> They need to fix their draft to use a sockopt or similar to
> enable/disable listening.
>

Here is what POSIX says:

A backlog argument of 0 may allow the socket to accept connections, in which
case the length of the listen queue may be set to an implementation-defined
minimum value.


SCTP API simply chooses to ignore the "may". It is still fully compliant
with POSIX in this regard.

-vlad


\
 
 \ /
  Last update: 2009-01-14 14:39    [W:0.081 / U:0.124 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site