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 <windows.h> before <winsock2.h>.
---------------------------
2nd in socket.cpp Line 2572 :
if(!cp)
cp = strrchr(namebuf, ':');
if(!cp)
{
endStream();
connectError();
return;
}
*(cp++) = 0; // << ----------------------- this line is missing
if(isdigit(*cp))
port = atoi(cp);
in all other cases where this sequence is used, it seemed to be OK.
Best regards
Uwe Buchholz
_______________________________________________
Bug-commoncpp mailing list
address@hidden
http://lists.gnu.org/mailman/listinfo/bug-commoncpp