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
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.