Article View: borland.public.cppbuilder.internet.socket
Article #5356Re: Problem with sending data with TCS/TSS (data has been received mixed and/or damaged)
From: Vladimir Stefanovic
Date: Thu, 19 Aug 2004 18:34
Date: Thu, 19 Aug 2004 18:34
27 lines
1481 bytes
1481 bytes
Uh, I hope this will work. I'm not curerntly at PC with BCB, so I'll try this tomorrow. Thanks a lot Remy. My productivity has increased many times when I discovered these NGs, and primarily with your assistence and suggestions. Best regards, Vladimir Stefanovic > You need to change this line: > > Socket->ReceiveBuf( InboxDataBuffer->Memory, IncomingSize ); > > To this instead: > > Socket->ReceiveBuf( &((LPBYTE)(I nboxDataBuffer->Memory))[OldSize], > IncomingSize ); > > > Gambit > >
Technical Details
Message-ID:
<4124f2ca@newsgroups.borland.com>Path:
arc1-ca.pugleaf.net!g2news1.google.com!news2.google.com!news.maxwell.syr.edu!newsfeed00.sul.t-online.de!newsfeed01.sul.t-online.de!t-online.de!newsgroups.borland.com!not-for-mailReferences:
<41245031$1@newsgroups.borland.com> <4124d7ab@newsgroups.borland.com>Show Full Headers
Complete Article Headers
X-Google-Thread: 11508e,9d2d5d657ea2710a X-Google-Attributes: gid11508e,public X-Google-Language: ENGLISH,ASCII-7-bit From: "Vladimir Stefanovic" <spam@not.needed> Newsgroups: borland.public.cppbuilder.internet.socket References: <41245031$1@newsgroups.borland.com> <4124d7ab@newsgroups.borland.com> Subject: Re: Problem with sending data with TCS/TSS (data has been received mixed and/or damaged) Date: Thu, 19 Aug 2004 20:34:23 +0200 Lines: 29 X-Priority: 3 X-MSMail-Priority: Normal X-Newsreader: Microsoft Outlook Express 5.00.2314.1300 X-MimeOLE: Produced By Microsoft MimeOLE V5.00.2314.1300 NNTP-Posting-Host: 213.137.116.203 Message-ID: <4124f2ca@newsgroups.borland.com> X-Trace: newsgroups.borland.com 1092940490 213.137.116.203 (19 Aug 2004 11:34:50 -0700) Path: arc1-ca.pugleaf.net!g2news1.google.com!news2.google.com!news.maxwell.syr.edu!newsfeed00.sul.t-online.de!newsfeed01.sul.t-online.de!t-online.de!newsgroups.borland.com!not-for-mail