Isn't there a set_blocking function you have to call first?...
--
Visit the Zend Store at http://www.zend.com/store/
Wanna help me out? Like Music? Buy a CD: http://l-i-e.com/artists.htm
Volunteer a little time: http://chatmusic.com/volunteer.htm
----- Original Message -----
From: Plamen Slavov <[EMAIL PROTECTED]>
Newsgroups: php.general
Sent: Wednesday, February 14, 2001 8:40 AM
Subject: [PHP] fsockopen timeout not working
> Hi all,
> Does someone know why fsockopen timeout does not work?
> php3
> $mydata=fsockopen($machine,$port,&$errno,&$errstr,30);
>
> I think that this function should fail after 30
> seconds, but it just blocks the script.
>
> __________________________________________________
> Do You Yahoo!?
> Get personalized email addresses from Yahoo! Mail - only $35
> a year! http://personal.mail.yahoo.com/
>
> --
> PHP General Mailing List (http://www.php.net/)
> To unsubscribe, e-mail: [EMAIL PROTECTED]
> For additional commands, e-mail: [EMAIL PROTECTED]
> To contact the list administrators, e-mail: [EMAIL PROTECTED]
>
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
To contact the list administrators, e-mail: [EMAIL PROTECTED]