You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
BC break: More SOLID design, reuse existing code, refactor code to fix
ambiguities and ease extending
(#1)
The event loop handling has been rewritten and now resides in the Socket\React\EventLoop namespace. Whole new API regarding SelectPoller
and dedicated SocketSelectLoop.
Rename Datagram\Datagram to Datagram\Socket
Merge Stream\Stream into Stream\Connection
Remove bind(), connect() and setOptionBroadcast() methods from Datagram\Socket and add respective options to the Datagram\Factory class.
This is done in order to keep the API clean and to avoid confusion as to
when it's safe to invoke those methods.
Require clue/datagram and implement its Datagram\SocketInterface
for Socket\React\Datagram\Socket. This means that you can now pass an
instance of this class where other libaries expect a datagram socket.
Fix: Typo in Socket\React\Stream\Server that passed null
(#4 thanks @cboden!)
Fix: End connection if reading from stream socket fails
(#7)