Any read() that returns a value of zero indicates eof on a file or that your 
peer has closed their end of the channel and no further data will be received.
 
 This is true of both blocking and non-blocking sockets.
 
 Alan
 
 Sent from my iPhone using IBM Verse
 
 On Sep 2, 2017, 1:46:15 PM, [email protected] wrote:
 
 From: [email protected]
 To: [email protected]
 Cc: 
 Date: Sep 2, 2017, 1:46:15 PM
 Subject: Re: [CMS-PIPELINES] FILEDESCRIPTOR and binary streams?
 
 
   On 2017-09-02, at 11:37, Alan Altmark wrote:
  > Zero bytes IS eof on socket reads.
  >
  Suppose the descriptor is not a socket?
  Is this true even for nonblocking reads from a socket?
  -- gil

Reply via email to