Skip to content

v0.5.3

Latest
Compare
Choose a tag to compare
@trowski trowski released this 30 Dec 05:46
· 3 commits to v0.5.x since this release

Added

  • Icicle\Socket\NetworkSocket, Icicle\Socket\Server\BasicServer, and Icicle\Socket\Datagram\BasicDatagram will automatically free resources in the event loop associated with the server/datagram and call fclose() on the stream resource when the object is destructed. This means close() does not need to be called on the object to avoid memory leaks in the loop or close the resource. The constructors of these classes have an additional boolean parameter $autoClose that defaults to true, but can be set to false to avoid automatically calling fclose() on the resource.