diff --git a/README b/README index eacf016..24a91b3 100644 --- a/README +++ b/README @@ -1,2 +1,4 @@ -Wrapper for stream functionality. -This package provides data integrity to stream functionality, particularly useful for sockets. \ No newline at end of file +Wrapper for network stream functionality. +PHP has built in support for various types of network streams, such as HTTP and TCP sockets. One problem that arises with them is the fact that a single fread/fwrite call might not read/write all the data you intended, regardless of whether you're in blocking mode or not. While the PHP manual offers a workaround in the form of a loop with a few variables, using it every single time you want to read/write can be tedious. + +This package abstracts this away, so that when you want to get exactly N amount of bytes, you can be sure the upper levels of your app will be dealing with N bytes. Oh, and the functionality is nicely wrapped in an object (but that's just the icing on the cake). \ No newline at end of file diff --git a/RELEASE-1.0.0a2 b/RELEASE-1.0.0a2 index b322753..7e10557 100644 --- a/RELEASE-1.0.0a2 +++ b/RELEASE-1.0.0a2 @@ -3,7 +3,7 @@ Lots of reorganization and initial test suite. * Renamed all "Socket*Transmitter" classes to "Tcp*". * Added test suite with nearly complete code coverage. Remaining coverage is due to forward compatibility issues. * Added FilterCollection, in turn allowing for the same filter to be applied more than once. -* Added NetworkStream, and made Tpc* classes inherit from it. This new class contains a new method called shutdown(). +* Added NetworkStream, and made Tcp* classes inherit from it. This new class contains a new method called shutdown(). * IPv6 addresses must now be written literally, without the surrounding "[" and "]". * TcpServerConnection can now accept IPv6 connections. * Merged sendStream() into send(). diff --git a/package.xml b/package.xml index 327dd74..238a060 100644 --- a/package.xml +++ b/package.xml @@ -43,6 +43,11 @@ + + + + + @@ -106,6 +111,10 @@ name="src/PEAR2/Net/Transmitter/Exception.php" as="PEAR2/Net/Transmitter/Exception.php" /> +