At 21:10 24.06.2001 +0200, Jani Taskinen wrote:
>On Sun, 24 Jun 2001, Daniel Beulshausen wrote:
>
> >the issue that made the extension break was the step from resources to
> >longs for the socket fd's, this was necessary as win32 socket fd's are
> >different from bsd style socket fd's.
>
>So this is broken now only on *nix? Nice.
>Previously it worked only on unices, now it works only on win32?
>What an improvement.

i didn't say it's broken, and no i don't use linux...

> >as this change would already have broken the extension i decided to update
> >the api as well, mainly the functions names, but also some return types.
>
>Did you happen to think that maybe people have already got used to the
>way it works? And they have created lot of scripts depending on the
>old behaviour? Old behaviour was also consistent with how the low-level
>socket functions worked. Which makes it easier to those people who
>already know socket programming in C to use this extension.

this shouldn't mean that every function in php should behave like the c 
counterpart, should it?
if we have the possibility to do something in a more userfriendly fashion i 
think it should be done that way.
yes, the new extension breaks backwards capability for advantage of not 
running only under linux.
and who says that and extension should stay it was in it initial revision?
i don't think that the translation to the new api is too hard.

> >the extension works pretty well under win32 now, but if there are functions
> >that are broken under posix i suggest that someone with more knowledge of
> >the bsd sockets than i has a look at them.
>
>Maybe you shouldn't have touched it at all then?
>You should have sent the patch first to the list.
>And after someone using *nix platform had tested and verified it really
>worked only after that you should have committed.
>
>Never heard this: 'test before commit' ???

it was send to this list, and voices said it's ok to commit...

daniel

> >i'd vote not for changing the api back, rather than updating/extending the
> >yet available (tiny) sockets documentation.
>
>I vote we get the old api back. I don't care if it doesn't support win32.
>Document that instead. Or update the documentation then. And add working
>examples there. I'm not gonna waste my time trying to figure out this.

/*--
daniel beulshausen - [EMAIL PROTECTED]
searching job: application development with php
using php on windows? http://www.php4win.de


-- 
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]

Reply via email to