Re: About ext/sockets/

From: Date: Sun, 24 Jun 2001 18:21:35 +0000
Subject: Re: About ext/sockets/
References: 1  Groups: php.dev 
Request: Send a blank email to php-dev+get-57857@lists.php.net to get a copy of this message
What new functionality? Why the hell should the API change? Only the function names should have been changed, not break the whole extension! --Jani On Sun, 24 Jun 2001, Andi Gutmans wrote: >Maybe we should wait with this whole API change until a new sub-version? >4.1? Or keep the old functionality right now and just add the new >functions? We can deprecate the old ones in 4.1. > >Andi > >At 03:03 PM 6/24/2001 +0200, Jani Taskinen wrote: > >>Since everybody seems to be using some stupid filters which filters >>all emails which have 'Bug' in the Subject I have to mail this again.. >>(Hint: There is X-PHP-Bug: header in those emails that come from bug system) >> >>Anyway, we have a problem. The sockets extension is seriously fucked up >>now. Some functions don't work at all and some work differently than >>before the renaming of the function names. ie. they return FALSE >>on errors now..before they returned -1. Good example: socket_listen() >> >>This is really bad thing and breaks every single script out there >>which uses these functions. It would be acceptable that the function >>names only needed to be changed, but now there has to be really big >>changes in the whole logic the scripts work. >> >>(even our example scripts on manual don't work) >> >>--Jani >> >> >>On 22 Jun 2001 lukas.beeler@projectdream.org wrote: >> >> >From: lukas.beeler@projectdream.org >> >Operating system: Slackware-current / Kernel 2.4.5 >> >PHP version: 4.0 Latest CVS (2001-06-22) >> >PHP Bug Type: Sockets related >> >Bug description: Socket function examples scripts aren't working with >> latest CVS >> > >> >After checking the renamed socket functions, i tried to get the sockets >> >example script running. It works fine under 4.0.5, so i renamed the >> >functions to the new ones, und tried to get it running. It started, and i >> >could connect without problems, but instead of being an echo server, i >> >just got disconnectet. >> >When are the new sockets function getting documented with an example >> script ? >> >thx in advance >> >> >>-- >>PHP Development Mailing List <http://www.php.net/> >>To unsubscribe, e-mail: php-dev-unsubscribe@lists.php.net >>For additional commands, e-mail: php-dev-help@lists.php.net >>To contact the list administrators, e-mail: php-list-admin@lists.php.net >

« previous php.dev (#57857) next »