Article View: borland.public.cppbuilder.internet.socket
Article #4795Re: Code problem
From: Hans Galema
Date: Thu, 16 Dec 2004 09:27
Date: Thu, 16 Dec 2004 09:27
17 lines
1523 bytes
1523 bytes
Maurice wrote:
> I tried to use the following piece of code posted by Remy in answer to a
> problem.
>
> void __fastcall WriteRawToSocket(TCustomWinSocket *ASocket, void *AData,
> int ASize)
The problem then was:
void __fastcall TServerForm.ServerSocketClientRead(TObject *Sender,
TCustomWinSocket *Socket)
Be aware that the suggested code will only be reliable with
one client transfering data at a time. Otherwise their data might
mix. As far as I can see at least.
Hans.
Technical Details
Message-ID:
<41c15538$1@newsgroups.borland.com>Path:
arc1-ca.pugleaf.net!g2news1.google.com!news2.google.com!proxad.net!fr.ip.ndsoftware.net!border2.nntp.ams.giganews.com!nntp.giganews.com!pe2.news.blueyonder.co.uk!blueyonder!news-peer-test!btnet!newsfeed.bt.es!caladan.landsraad.net!newsgroups.borland.com!not-for-mailReferences:
<41bf1302$1@newsgroups.borland.com>Show Full Headers
Complete Article Headers
X-Google-Thread: 11508e,29bbb0e4385845fe X-Google-Attributes: gid11508e,public X-Google-Language: ENGLISH,ASCII-7-bit Date: Thu, 16 Dec 2004 10:27:57 +0100 From: Hans Galema <notused@notused.nl> User-Agent: Mozilla Thunderbird 0.8 (Windows/20040913) X-Accept-Language: en-us, en MIME-Version: 1.0 Newsgroups: borland.public.cppbuilder.internet.socket Subject: Re: Code problem References: <41bf1302$1@newsgroups.borland.com> In-Reply-To: <41bf1302$1@newsgroups.borland.com> Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit NNTP-Posting-Host: 129.125.201.248 Message-ID: <41c15538$1@newsgroups.borland.com> X-Trace: newsgroups.borland.com 1103189304 129.125.201.248 (16 Dec 2004 01:28:24 -0800) Lines: 17 Path: arc1-ca.pugleaf.net!g2news1.google.com!news2.google.com!proxad.net!fr.ip.ndsoftware.net!border2.nntp.ams.giganews.com!nntp.giganews.com!pe2.news.blueyonder.co.uk!blueyonder!news-peer-test!btnet!newsfeed.bt.es!caladan.landsraad.net!newsgroups.borland.com!not-for-mail