Hey,
Using fread on socket connections or when reading from sockets I mostly use timeouts on these commands. Now I'm coding something which uses php://stdin, but is there any way I could timeout the command? The script needs to do others things as well, even when trying to read from stdin, so a small timeout would be just what I need. 🙂
I searched the PHP manual over and over but couldn't find anything what could help me with this matter.
Thanks,
Rhand0z