Re: sockets extension
| From: | Daniel Beulshausen | Date: | Wed, 16 May 2001 20:23:13 +0000 |
| Subject: | Re: sockets extension | ||
| References: | 1 | Groups: | php.dev |
| Request: | Send a blank email to php-dev+get-55530@lists.php.net to get a copy of this message | ||
At 04:01 16.05.2001 -0400, Sterling Hughes wrote:
I've been meaning for a while to do this, so yes, that's perfectly ok. I don't quite understand "the return values of most functions had to be changed because win32 has a completely different error handling". Can you elaborate a bit more.WSAGetlastError() returns completly different errno's, thus i think it's not a good idea to use them as return values (and for the users to rely on them).
Also, strerror() is to my knowledge, available on Win32 systems (check out FormatMessage()). *ouch* I WILL NOT DO WINDOWS PROGRAMMING I WILL NOT DO WINDOWS PROGRAMMING ...great. daniel /*-- daniel beulshausen - daniel@php4win.de using php on windows? http://www.php4win.deas that together would already break old scripts i've also renamed the functions to (hopefully) go with the standards.The naming looks pretty good. It seems like most people want this (I don't, but, ah well.)