socket_set_timeout Set timeout period on a socket Description boolsocket_set_timeout resourcesocket descriptor intseconds intmicroseconds Sets the timeout value on socket descriptor, expressed in the sum of seconds and microseconds. <function>socket_set_timeout</function> Example ]]> This function was previously called as set_socket_timeout but this usage is deprecated. See also: fsockopen and fopen.