Name

socket_set_timeout

Synopsis

bool socket_set_timeout(int socket, int seconds, int microseconds)

Sets the timeout for socket to the sum of seconds and microseconds. Returns true if the operation was successful and false if not.

Get Programming PHP, 2nd Edition now with the O’Reilly learning platform.

O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.