I am working on server/client php scripts which can communicate over a UDP socket. I was wondering if there is a good way to implement a timeout() for the socket_recv() function. Currently it is blocking in my client, waiting for an ack.
Thanks for your input!