Re: sockets extension
| From: | Andi Gutmans | Date: | Wed, 16 May 2001 19:49:30 +0000 |
| Subject: | Re: sockets extension | ||
| References: | 1 | Groups: | php.dev |
| Request: | Send a blank email to php-dev+get-55526@lists.php.net to get a copy of this message | ||
Daniel,
Would it make sense to try to integrate the new php_streams into this extension?
It might give php_streams a push and I'm sure Wez would work with you fixing any remaining issues.
It would be a nice test bed.
What do you think?
About backwards compatibility, without having read the code it sounds as if you're doing "the right thing" as opposed to the old module. Do any of the new function names overlap with the old ones? I'm not quite sure how we should tackle backwards compatibility here.
Andi
At 09:28 PM 5/16/2001 +0200, Daniel Beulshausen wrote:
hi, i've updated the sockets extension so that it's usable under win32 as well, however it's incompatible to the "old extension" for some reasons (thats why i want some feedback): sockets fd under win32 are usigned, the previous approach of returning long's and check for < 0 wouldn't have worked, thus it's been converted to use resources (which is also cleaner behaviour IMO). the return values of most functions had to be changed, because win32 has an complete different error handling. as that together would already break old scripts i've also renamed the functions to (hopefully) go with the standards. daniel /*-- daniel beulshausen - daniel@php4win.de using php on windows? http://www.php4win.de -- 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