Re: Timeout setting in [HTTP_REQUEST], [Net_FTP], [Net_SMTP] and [Net_POP3]

From: Date: Mon, 13 Nov 2006 16:24:02 +0000
Subject: Re: Timeout setting in [HTTP_REQUEST], [Net_FTP], [Net_SMTP] and [Net_POP3]
References: 1  Groups: php.pear.general 
Request: Send a blank email to pear-general+get-25804@lists.php.net to get a copy of this message
On 11/13/06, James Nunnerley <webmaster@webit.co.uk> wrote:
I'm using the above Pear packages to carry out some connection checks on our servers. I'd like to set a timeout for all of them, but can't quite work out how to for each one. I've looked through the documentation, and can see no reference to connection timeouts on any of them. Also, once they have timed-out, what errors would be sent back?
Net_Socket supports a timeout and hence HTTP_Request does. Look for the socket options in HTTP_Request then look up Net_Socket's options. -- Justin Patrin

« previous php.pear.general (#25804) next »