
15 Aug
2006
15 Aug
'06
4:05 a.m.
Christopher Kohlhoff wrote:
In short, winsock2.h thinks you're compiling for Win16! The quick workaround is to add -DWIN32 to your compiler command line.
Thanks, worked. Great lib, glad to see its adoption. After 20 years of platform dependent socket tweaking asio gets it right without getting into patterns that make too many assumptions. Bravo. (WIN16? Seg'd memory models? Ew, bad flashbacks ;-) )