🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: borland.public.cppbuilder.internet.socket
Article #4796

Re: Code problem

#4796
From: Maurice
Date: Thu, 16 Dec 2004 11:22
27 lines
1782 bytes
Hello Hans, my application will only require one client at a time. Remy 
pointed out where I was going wrong but I still have problems. I hope 
this reply gets through, I have been having trouble replying to postings

Maurice

Hans Galema wrote:

> 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: <41c17007$1@newsgroups.borland.com>
Path: arc1-ca.pugleaf.net!g2news1.google.com!news3.google.com!news.glorb.com!logbridge.uoregon.edu!newsfeeds.ihug.co.nz!ihug.co.nz!newsgroups.borland.com!not-for-mail
References: <41bf1302$1@newsgroups.borland.com> <41c15538$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 11:22:46 +0000
From: Maurice <moheneghan@netscape.net>
User-Agent: Mozilla/5.0 (Windows; U; Windows NT 5.1; en-US; rv:1.4) Gecko/20030624 Netscape/7.1 (ax)
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> <41c15538$1@newsgroups.borland.com>
In-Reply-To: <41c15538$1@newsgroups.borland.com>
Content-Type: text/plain; charset=us-ascii; format=flowed
Content-Transfer-Encoding: 7bit
NNTP-Posting-Host: 81.107.73.25
Message-ID: <41c17007$1@newsgroups.borland.com>
X-Trace: newsgroups.borland.com 1103196167 81.107.73.25 (16 Dec 2004 03:22:47 -0800)
Lines: 28
Path: arc1-ca.pugleaf.net!g2news1.google.com!news3.google.com!news.glorb.com!logbridge.uoregon.edu!newsfeeds.ihug.co.nz!ihug.co.nz!newsgroups.borland.com!not-for-mail