So I have just discovered stream_socket_client(), which is pretty powerful, I'm sending e-mails with it already.
I'm just wondering though, do I need to use fclose for the sake of my server or the host?
I want to avoid leaving unused connections with the host but am presuming that they will timeout and flcose is for the benefit of my server only, is that right?
We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue.