RE: [PHP] socket_set_block undefined

From: Date: Fri, 25 Jun 2004 19:26:28 +0000
Subject: RE: [PHP] socket_set_block undefined
References: 1  Groups: php.general 
Request: Send a blank email to php-general+get-189082@lists.php.net to get a copy of this message
also, i know socket_set_option() used to be socket_setopt(), that's why i ask -Josh > -----Original Message----- > From: Philip Olson [mailto:philip@cornado.com] > Sent: Friday, June 25, 2004 2:11 PM > To: Josh Close > Cc: PHP (E-mail) > Subject: Re: [PHP] socket_set_block undefined > > > > > I'm trying to use socket_set_block and php.net says (php4 > >= 4.2, php5). > > > > I'm using version 4.3.1 but I get this error > > > > Fatal error: Call to undefined function: > socket_set_block() in ..... > > > > Any idea why this is? Has the name changed or been something else? > > > > socket_set_nonblock() work fine. > > Strange as the name has not changed and the function > requires nothing special (no IF block around it), here's > the source: > > http://lxr.php.net/source/php-src/ext/sockets/sockets.c#715 > > Since socket_set_nonblock() exists you must have > the socket extension available so this is odd. > Are you sure this problem exists and it's not > something silly? Seems like an impossible problem > assuming your php source wasn't modified :) > > Regards, > Philip > > -- > PHP General Mailing List (http://www.php.net/) > To unsubscribe, visit: http://www.php.net/unsub.php > > >

« previous php.general (#189082) next »