🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

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

Re: Code problem

#4798
From: Maurice
Date: Thu, 16 Dec 2004 14:34
41 lines
2288 bytes
In my application I only have a TClientSocket on a form called Form1, I 
am not sure how to integrate Remy's code into it.

Maurice

Hans Galema wrote:
> Maurice wrote:
> 
>> 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.
> 
> 
> Then feel free to reply -in that other thead- to tell which problems
> and to ask for assistance.
> 
>  >>    void __fastcall TServerForm.ServerSocketClientRead(TObject *Sender,
>  >>TCustomWinSocket *Socket)
> 
> That should be:
> 
> void __fastcall TServerForm::ServerSocketClientRead(TObject *Sender,
> TCustomWinSocket *Socket)
> 
> or
> 
> void __fastcall TForm1::ServerSocketClientRead(TObject *Sender,
> TCustomWinSocket *Socket)
> 
> That just depends of the name of your class. I.e. the name of the
> TForm where the TServerSocket component is dropped on.
> 
>> I hope this reply gets through, I have been having trouble replying to 
>> postings
> 
> 
> I do not understand that there would be a technical problem.
> If you posting is possible then replying is possible too.

I solved my posting problem, I was using a different e-mail address.
> 
> Hans.
Technical Details
Message-ID: <41c19ce0@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> <41c17007$1@newsgroups.borland.com> <41c179e0$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 14:34:07 +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> <41c17007$1@newsgroups.borland.com> <41c179e0$1@newsgroups.borland.com>
In-Reply-To: <41c179e0$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: <41c19ce0@newsgroups.borland.com>
X-Trace: newsgroups.borland.com 1103207648 81.107.73.25 (16 Dec 2004 06:34:08 -0800)
Lines: 42
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