Uwe Buchholz wrote:
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 Bug-commoncpp@gnu.org http://lists.gnu.org/mailman/listinfo/bug-commoncpp
begin:vcard fn:David Sugar n:Sugar;David org:GNU Project adr:;;23 Olin Drive;Cape May Court House;NJ;08210;USA email;internet:[EMAIL PROTECTED] tel;home:1 609 465 5336 tel;cell:1 908 917 6084 x-mozilla-html:FALSE url:http://www.ostel.com version:2.1 end:vcard
_______________________________________________ Bug-commoncpp mailing list Bug-commoncpp@gnu.org http://lists.gnu.org/mailman/listinfo/bug-commoncpp