[egorovv@mailandnews.com: inet_network]

Chris Faylor cgf@cygnus.com
Wed Apr 19 10:56:00 GMT 2000


On Wed, Apr 19, 2000 at 01:52:08PM -0400, DJ Delorie wrote:
>
>> Occasionally (building Apache) I found that though <arpa/inet.h> declares 
>> inet_network, it is not implemented. 
>> 
>> Here is my proposal which makes use of an undocumented wsock32.dll entry.
>
>If it's undocumented, we should gracefully handle the case where it
>isn't in the DLL.  Could you add some code that detects the failure of
>LoadDLLFunc and returns a suitable error code if the function isn't
>defined?  That would be better than a core dump.

LoadDLLFunc should actually abort the process if it can't load the function.

cgf


More information about the Cygwin-patches mailing list