--- Hans Leidekker hans@it.vu.nl wrote:
If I include winsock2.h, get rid of the sys/socket.h, netinet/in.h and arpa/inet.h includes and additionally link to ws2_32 it builds on MinGW as well as Wine.
You have to link to ws2_32? That's interesting, I didn't. I submitted a patch, minus that bit.
Hans, why didn't wsock32 build?
It's missing some constants:
(snip...)
winsock2.h says:
FIXME: Still missing required Winsock 2 definitions.
MinGW and MSVC versions of winsock2.h have the defines, so I guess we need to add them. Attached patch does so.
Could you submit to wine-patches? Thanks! --Juan
__________________________________ Do you Yahoo!? Get better spam protection with Yahoo! Mail. http://antispam.yahoo.com/tools