This is the mail archive of the
cygwin-patches@sourceware.cygnus.com
mailing list for the Cygwin project.
Re: [egorovv@mailandnews.com: inet_network]
- To: egorovv at mailandnews dot com
- Subject: Re: [egorovv@mailandnews.com: inet_network]
- From: DJ Delorie <dj at delorie dot com>
- Date: Wed, 19 Apr 2000 13:52:08 -0400
- CC: cgf at cygnus dot com, cygwin-patches at sourceware dot cygnus dot com
- References: <20000419134603.A15867@cygnus.com>
> 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.