tech-userlevel archive

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

readv() on TCP socket returns 0



Hi

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
http://hcpnet.free.fr/pubz
manu%netbsd.org@localhost


Home | Main Index | Thread Index | Old Index