Can read() function on a connected socket return zero bytes? August 31, 2023 by Tarik When a TCP connection is closed on one side read() on the other side returns 0 byte.