Newsgroups : Borland : borland.public.delphi.internet.winsock : 2007 Apr : IdTCPServer1Execute

www.cryer.info
Managed Newsgroup Archive

IdTCPServer1Execute

Subject:IdTCPServer1Execute
Posted by:colu..@takas.lt
Date:Tue, 17 Apr 2007 11:43:04

Hello,

I'm a little bit confused with threading in indy.  Is it safe to call in
following manner if I have more than one connection?

procedure TForm4.IdTCPServer1Execute(AContext: TIdContext);
vat tmp_string:string;
begin
tmp_string:=AContext.Connection.IOHandler.ReadLn(#$0a,5);

//some job with tmp_string

end;

What is the best place to ask about indy in delphi?

Thank You

Replies:

www.cryer.info
Managed Newsgroup Archive