Skip to content

1.0.0a2

Compare
Choose a tag to compare
@boenrobot boenrobot released this 15 Aug 17:52
· 55 commits to master since this release

Lots of reorganization and initial test suite.

  • Renamed all "SocketTransmitter" 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 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().
  • Added $offset and $length to send().
  • Removed redundant error variables in TcpServerConnection.
  • Removed the TcpServerConnection::isServer() function (can't tell apart server and client).