[lkml]   [2002]   [Jul]   [30]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
Messages in this thread
    SubjectRe: Weirdness with AF_INET listen() backlog [2.4.18]
    Hello Alan (et al.),

    Thanks for the quick replies.

    >> I had expected that if a server creates a listening socket, but does not
    >> accept() the incoming connections, then after the (possibly
    >> Is this all expected behaviour? If so, is there a way of getting Linux
    >> behave more like other implementations here? (As a wild shot I tried
    >> /proc/sys/net/ipv4/tcp_syncookies to 0, but this made no apparent
    >> difference.)
    >The world of tcp synflooding changed how stacks handle this sort of
    >stuff forever. Welcome to the new world order 8)

    Yes, I was gathering that it was synflooding that led to these changes.

    >You will get connections completing, they will time out.

    What causes the delay of a few seconds following each of the connect()s
    in excess of backlog?

    > If you expect
    >the server to say something you'll see the timeout there instead of
    >seeing it on the connect.

    Sorry, I don't quite understand this last sentence! Can you elaborate?

    >Since a timeout on the data can happen in the real world Im sure your
    >code already correctly handles this case ;)

    You mean on a send() or write(), right?



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

     \ /
      Last update: 2005-03-22 13:27    [W:0.021 / U:12.472 seconds]
    ©2003-2016 Jasper Spaans. hosted at Digital OceanAdvertise on this site