Merlin Moncure wrote:
> I think init/uninit is the answer. While writing libpqtypes, we noted
> that libpq is just plain awkward in a few different ways and probably
> deserves a rewrite at some point. not today though....
Would there be any serious harm in:
1. doing the WSAStartup() when the first connection is opened, but
2. cleaning up from either
2a. some kind of on-unload version of DllMain() if possible, or
2b. an explicit new cleanup function
?
(I know it says you can't set the thing up from DllMain, but does it say
something similar about shutdown?)
Jeroen