[egorovv@mailandnews.com: inet_network]
Vadim Egorov
egorovv@mailandnews.com
Wed Apr 19 12:49:00 GMT 2000
DJ Delorie <dj@delorie.com> writes:
> > LoadDLLFunc should actually abort the process if it can't load the function.
>
> Then we shouldn't use it for an undocumented function, which may not
> be available in all versions of winsock.
First, I'll try to check as much as possible wsock32.dll versions as possible
-- especially the earliest one -- to see if any of them are missing this entry.
Next, it's certanly possible to use raw LoadLibrary/GetProcAddress API to achieve
the same thing plus gracefuuly handling the worst case.
One more way is to borow it -- glibc contains quite compact and independent one --
though I'm not quite sure about cygwin policy in this respect.
-----
Regards,
Vadim
More information about the Cygwin-patches
mailing list