W3C home > Mailing lists > Public > www-lib@w3.org > July to September 1999

Re: Winsock gethostbyname() problem in NT4

From: Steinar Bang <sb@metis.no>
Date: 15 Sep 1999 14:17:18 +0200
To: www-lib@w3.org
Message-ID: <whu2ow2wtt.fsf@viffer.oslo.metis.no>
>>>>> Steinar Bang <sb@metis.no>:

> Platform: libwww CVS checkout, NT4, MSVC6

> ...
> Error....... Add  73    Severity: 1     Parameter: `WinSock reported error=10093'       Where: `gethostbyname'
> ...

It helps to get the error messages instead of error codes.  From
I get 
        WSANOTINITIALISED      10093   Winsock not initialized. This message is
                                     returned by any function except
                                     WSAStartup(), indicating that a
                                     successful WSAStartup() has not yet been

This means that libwww doesn't initialize winsock?

Hmm... according to this
it should be called if I call HTEventInit().

My test program didn't call HTEventInit().  When it did, HTTP started
Received on Wednesday, 15 September 1999 08:17:21 UTC

This archive was generated by hypermail 2.3.1 : Tuesday, 6 January 2015 21:33:52 UTC