How come select says there is data, but read returns zero?

Submitted by: Administrator
The data that causes select to return is the EOF because the other side has closed the connection. This causes read to return zero.
Submitted by: Administrator

Read Online Unix Socket Programming Job Interview Questions And Answers