This is the mail archive of the cygwin-patches@sourceware.cygnus.com mailing list for the Cygwin project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]

Re: [egorovv@mailandnews.com: inet_network]



> 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.

Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]