bug in socket.cpp

2005-04-08 Thread Uwe Buchholz
Hi, I compiled commoncpp2-1.3.8 and tried tcpstr1 with VC++ 6.0, SDK installed. There was 2 problems: 1st in config.h I have to comment Line 83 : //#define HAVE_PLATFORMSDK because I need to include before . --- 2nd in socket.cpp Line 2572 : if(!cp)

Re: bug in socket.cpp

2005-04-08 Thread David Sugar
From what I gather, depending on which version of the platform sdk you have installed with VC++ 6.0 (whether the one it originally comes with, or the latest one), you either MUST include windows.h before, or after winsock2.h or everything will break. and there is no easy way to find out which y