Feature: Forward compatibility with PHP 8.1 release. (#67 and #68 by @clue)
Fix: Fix reporting refused connections on Windows. (#69 by @clue)
Improve CI setup and documentation. (#70 and #65 by @clue, #64 by @szepeviktor and #66 by @PaulRotmann)
Feature: Support PHP 8 and drop legacy HHVM support. (#60 and #61 by @clue)
Improve test suite and add .gitattributes
to exclude dev files from export.
Update to PHPUnit 9 and simplify test matrix.
(#50, #51, #58 and #63 by @clue and #57 by @SimonFrings)
Fix: Fix error reporting when invoking methods on closed socket instance. (#48 by @clue)
Improve test suite to run tests on Windows via Travis CI. (#49 by @clue)
Feature: Improve Windows support (async connections and Unix domain sockets). (#43 by @clue)
Improve test suite by adding forward compatibility with PHPUnit 7 and PHPUnit 6. (#42 by @clue)
Feature: Add $timeout
parameter for Factory::createClient()
(#39 by @Elbandi and @clue)
// connect to Google, but wait no longer than 2.5s for connection
$socket = $factory->createClient('www.google.com:80', 2.5);
Improve test suite by adding PHPUnit to require-dev, update test suite to test against legacy PHP 5.3 through PHP 7.2 and optionally skip functional integration tests requiring internet. (#26 by @ascii-soup, #28, #29, #37 and #38 by @clue)
Feature: Accept float timeouts like 0.5
for Socket::selectRead()
and Socket::selectWrite()
.
(#8)
Feature: Add new Socket::connectTimeout()
method.
(#11)
Fix: Close invalid socket resource when Factory
fails to create a Socket
.
(#12)
Fix: Calling accept()
on an idle server socket emits right error code and message.
(#14)
Exception
(#6)Factory::createUdg()
now returns the right socket type.0
port.