Re: hmm sockets (again)

From: Date: Wed, 02 May 2001 07:16:46 +0000
Subject: Re: hmm sockets (again)
References: 1  Groups: php.general 
Request: Send a blank email to php-general+get-51088@lists.php.net to get a copy of this message
Hi, I might have missed a follow up or your original message, but have you tried socket_set_blocking() ? --- Joseph Blythe <joe.blythe@binarylogic.com.au> wrote: > Hey all, > > Just looked through the changelog for 4.0.5 and was > suprised to see that > the socket functions had not been fixed, > (set_nonblock does not seem to work under linux), I > have retried my > scripts under the new version but nothing seems to > have changed, > > For the time being I am going back to the network > and filesystem > functions which do seem to be more reliable now. > > I am a little confused though,about the following > extracted from the > changelog: > > > Fixed a compatibility problem in some file > functions (fgets, fputs, > > fread, fwrite). > > The ANSI standard says that if a file is opened in > read/write mode, > > fseek() should be called before switching from > > reading to writing and vice versa. > > How does this affect calls to a fsockopen? > > Can anybody else can confirm that set_nonblock() is > indeed broken. If it > is I will make sure that the bug is reported. > > > Regards, > > > Joseph > > > > -- > PHP General Mailing List (http://www.php.net/) > To unsubscribe, e-mail: > php-general-unsubscribe@lists.php.net > For additional commands, e-mail: > php-general-help@lists.php.net > To contact the list administrators, e-mail: > php-list-admin@lists.php.net > ===== To find out more about me : http://www.geocities.com/mimodit My bookmarks are available @ http://mukul.free.fr

« previous php.general (#51088) next »