Epoll,ET model of a simple HTTP Server codes
no vote
Blocking socket,read/write-1 represents a network error is returned. But for non-blocking socket,read/write-1 network is really not necessarily go wrong. May be the Resource temporarily unavailable. You should try again, until the Resource available.