cvs commit: fptools/libraries/network/Network Socket.hsc
Sigbjorn Finne
sof@glass.cse.ogi.edu
Mon, 15 Jul 2002 14:04:58 -0700
sof 2002/07/15 14:04:58 PDT
Modified files:
libraries/network/Network Socket.hsc
Log:
recv,recvFrom:
* Have these map zero-byte results from the underlying
APIs to an EOF IOError, bringing them into line with
what the hGet* actions do when interpreting read()
results.
* If the length argument is zero or less, raise an
InvalidArgument IOError.
Alters user-visible behaviour (for the better, I hope), so
it _shouldn't_ be merged to STABLE.
Revision Changes Path
1.26 +26 -12 fptools/libraries/network/Network/Socket.hsc