[lkml]   [2003]   [Jul]   [12]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
Messages in this thread
    SubjectRe: [Patch][RFC] epoll and half closed TCP connections
    > > read(), returns 0 right away		socket buffer is empty
    > read will return -1 with errno=EAGAIN in that case, not zero.

    Yes, my mistake. So the real issue (of the patch) is just the original
    thing I posted about: you can't tell w/o another read() syscall if an
    EOF has piggybacked in on an EPOLLIN event.

    Thanks for being patient.

    -Eric Varsanyi
    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:46    [W:0.018 / U:41.948 seconds]
    ©2003-2017 Jasper Spaans. hosted at Digital OceanAdvertise on this site