[lkml]   [2000]   [Feb]   [20]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
Messages in this thread
    SubjectRe: Network socket disconnect unreliable
    > Yep. Wonderful. When the socket disconnects, select doesn't return!

    It does here. Do you have the right fd in your read set ?

    > read/write code does as you show, but without the exception mask
    > select() doesn't return after a disconnect. At least not on
    > the 'current' versions of Linux (up to 2.3.41).

    The exception mask shouldnt even be applied here. It is for reporting urgent
    data packets.

    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 13:56    [W:0.019 / U:3.240 seconds]
    ©2003-2016 Jasper Spaans. hosted at Digital OceanAdvertise on this site