I have not looked into this a lot so I might be mistaken, but it seems that the problem is that fcntl.h is not defined in main/network.c If I add the following lines to main/network.c it seems that timeout works again: #ifndef _FCNTL_H #include <fcntl.h> #endif I'm running Debian 2.2r3 with PHP 4.0.6 Regards, Michael -- PHP Development 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]