How do I set the socket timeout in PHP? - by WowaEl I need to set timeout on client.recv in TCP server. Read the article