Re: Need help to make php3 module work on win32
| From: | Sascha Schumann | Date: | Mon, 29 Mar 1999 17:01:09 +0000 |
| Subject: | Re: Need help to make php3 module work on win32 | ||
| References: | 1 | Groups: | php.dev |
| Request: | Send a blank email to php-dev+get-4813@lists.php.net to get a copy of this message | ||
On Mon, Mar 29, 1999 at 05:41:38PM +0200, Uwe Steinmann wrote:
> Hi,
>
> I need some help to make the Hyperwave module, which I contributed
> to php3, work on win32 platforms. Unfortunately I have absolutely no
> knowledge of win32 programming.
>
> All I know is, that a simple script
>
> <? $connect = hw_connect("gehtnix.fernuni-hagen.de", 418);
> hw_close($connect); ?>
>
> fails.
>
> The problem appears to be in open_hg_connection() in hg_comm.c.
> On win32 the connect() system call always fails. From looking at
> the fsock.c file, connect() seems to have different return values
> on win32 and unix. Is that true?
> Could a windows wizard have a quick look at line 954 in hg_comm.c
> and tell me if this makes any sense for win32.
You have to compare with != 0 instead of < 0.
--
Regards,
Sascha Schumann |
Consultant | finger sas@schell.de
| for PGP public key
--
PHP Development Mailing List http://www.php.net/
To unsubscribe send an empty message to php-dev-unsubscribe@lists.php.net
For help: php-dev-help@lists.php.net