🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

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

Re: How to handle OnExecute?

#4414
From: Remy Lebeau (TeamB)
Date: Fri, 25 Feb 2005 18:11
18 lines
1542 bytes
"db" <db@ccii.co.za> wrote in message
news:421ef669@newsgroups.borland.com...

> In what context does the OnExecute happen

In the context of the thread that is specified as a parameter to the event
handler.

> and how must it be handled for instance when data is coming
> in from multiple clients.

The event is multi-threaded.  The event handler's parameter specifies the
specific client that is triggering the event.  That parameter contains the
Connection object that you use to read from and write to that client.


Gambit
Technical Details
Message-ID: <421f6c22@newsgroups.borland.com>
Path: arc1-ca.pugleaf.net!g2news1.google.com!news4.google.com!news.glorb.com!border1.nntp.dca.giganews.com!border2.nntp.dca.giganews.com!nntp.giganews.com!newspeer1.nwr.nac.net!news-out.newsgroups.com!propagator2-sterling.newsfeeds.com!news-in.newsfeeds.com!in.nntp.be!caladan.landsraad.net!newsgroups.borland.com!not-for-mail
References: <421ef669@newsgroups.borland.com>

Show Full Headers
Complete Article Headers
X-Google-Thread: 11508e,183bf25c52a87355
X-Google-Attributes: gid11508e,public
X-Google-Language: ENGLISH,ASCII-7-bit
From: "Remy Lebeau \(TeamB\)" <no.spam@no.spam.com>
Newsgroups: borland.public.cppbuilder.internet.socket
References: <421ef669@newsgroups.borland.com>
Subject: Re: How to handle OnExecute?
Date: Fri, 25 Feb 2005 10:11:44 -0800
Lines: 20
X-Priority: 3
X-MSMail-Priority: Normal
X-Newsreader: Microsoft Outlook Express 6.00.2800.1409
X-MimeOLE: Produced By Microsoft MimeOLE V6.00.2800.1409
NNTP-Posting-Host: 68.69.17.41
Message-ID: <421f6c22@newsgroups.borland.com>
X-Trace: newsgroups.borland.com 1109355554 68.69.17.41 (25 Feb 2005 10:19:14 -0800)
Path: arc1-ca.pugleaf.net!g2news1.google.com!news4.google.com!news.glorb.com!border1.nntp.dca.giganews.com!border2.nntp.dca.giganews.com!nntp.giganews.com!newspeer1.nwr.nac.net!news-out.newsgroups.com!propagator2-sterling.newsfeeds.com!news-in.newsfeeds.com!in.nntp.be!caladan.landsraad.net!newsgroups.borland.com!not-for-mail