tech-userlevel archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

readv() on TCP socket returns 0


readv() returns 0 on EOF. If the file descriptor is a TCP socket, I
guess that means the connexion was closed, but are there other
situations where readv() can return 0 for a TCP socket?

Emmanuel Dreyfus

Home | Main Index | Thread Index | Old Index