On Sunday 10 August 2003 00.59, Robert Collins wrote: > Sounds like mingw have a 'funny' struct definition for in_addr. > Perhaps a memset is best for now.
There is no guarantee in any standard API whan in_addr should look like. At best there is guarantees that it has certain members. This is true for most API structures. You can use the global constant no_addr for initialization purposes (not statically/globally however..). Fixing up this broken code of mine in both 3.0 and 2.5. Regards Henrik
