Once the other end has closed for sending you know there can be no more data
and the kernel will tell you about it when you next call read(). TCP treats
the two directions independently.
p.
-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@vger.rutgers.edu
Please read the FAQ at http://www.tux.org/lkml/