PEAR2 Net::Transmitter 1.0.0b2

Net::Transmitter provides a stream wrapper that ensures data integrity over network connections, such as HTTP transfers and raw TCP sockets. It abstracts blocking read/writes and esnures to fetch the complete packet stream, avoiding manual state keeping and loop probing.

Tags php sockets networking data-integrity pear2 php-library
License GNU LGPL
State alpha

Recent Releases

1.0.0b215 May 2017 01:25 minor feature: "failed to parse address" error that occurs in patched PHP versions for Debian 7 and Ubuntu 16.04. NOTE: Persistent connections still fail in those environments, and there's no possible workaround, short of getting a non-patched PHP version or upgrading to Debian 8 or Ubuntu 16.10. . NOTE: Persistent connections still fail in those environments, and there's no possible workaround, short of getting a non-patched PHP version or upgrading to Debian 8 or Ubuntu 16.10.
1.0.0b108 Nov 2016 08:25 minor feature: a streaming with newer PHP 5.6 versions and later. Stream::setIsBlocking() is only implicitly called if needed (i.e. for encrypted connections), ensuring compatibility with web hosts that for bizzare reasons have disabled stream_set_blocking(). Doc and test that now ensure large code coverage.
1.0.0a503 Nov 2014 20:05 minor bugfix: Added fragments to exceptions, allowing retrieval of incomplete receives' contents, and byte count on incomplete sends. Changed Stream to use an fread/fwrite duo instead of stream_copy_to_stream() for the sake of stability. Tweaked Stream::isAcceptingData() and NetworkStream::isAvailable(), in order to work around a reproducible hang on Linux. Doc fixes.