BorlandTalk.com Forum Index BorlandTalk.com
Borland discussion newsgroups
 
Archives   FAQFAQ   SearchSearch   MemberlistMemberlist   UsergroupsUsergroups   RegisterRegister 
 ProfileProfile   Log in to check your private messagesLog in to check your private messages   Log inLog in 

How to handle OnExecute?

 
Post new topic   Reply to topic    BorlandTalk.com Forum Index -> C++ Builder (Internet Socket)
View previous topic :: View next topic  
Author Message
db
Guest





PostPosted: Fri Feb 25, 2005 9:57 am    Post subject: How to handle OnExecute? Reply with quote



Hi,

I'm using the TIdTCPServer component. Can someone please clarify the
operation of the OnExecute event. In what context does the OnExecute happen
and how must it be handled for instance when data is coming in from multiple
clients.

Kind regards
Dieter




Back to top
Remy Lebeau (TeamB)
Guest





PostPosted: Fri Feb 25, 2005 6:11 pm    Post subject: Re: How to handle OnExecute? Reply with quote




"db" <db (AT) ccii (DOT) co.za> wrote


Quote:
In what context does the OnExecute happen

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

Quote:
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



Back to top
Display posts from previous:   
Post new topic   Reply to topic    BorlandTalk.com Forum Index -> C++ Builder (Internet Socket) All times are GMT
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum


Powered by phpBB © 2001, 2006 phpBB Group
SEO toolkit © 2004-2006 webmedic.