🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

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

TIdSync Question.

#4662
From: Omar Zelaya
Date: Thu, 13 Jan 2005 01:53
15 lines
1362 bytes
Hi,

How can i use TIdSync->SynchronizeMethod on BCB?
Some code sample would be great.

I have to synchronize various methods on the OnExecute event of IdTCPServer, 
depending on client the requestto the server  i need to synchronize method1 
or method2 or ...methodn.

Do i have to create a TIdSync for each method to synchronize or i can have 
one global TIdSync Object and call GlobalSync->SynchronizeMethod?

Thanks in advance.

Omar Zelaya 
Technical Details
Message-ID: <41e5d158$1@newsgroups.borland.com>
Path: arc1-ca.pugleaf.net!g2news1.google.com!news4.google.com!news2.google.com!proxad.net!212.101.4.254.MISMATCH!solnet.ch!solnet.ch!newsfeed.freenet.de!newsfeed00.sul.t-online.de!newsfeed01.sul.t-online.de!t-online.de!newsgroups.borland.com!not-for-mail

Show Full Headers
Complete Article Headers
X-Google-Thread: 11508e,28af77e5c1f2776e,start
X-Google-Attributes: gid11508e,public
X-Google-Language: ENGLISH,ASCII-7-bit
From: "Omar Zelaya" <ozelaya@invdochat.com>
Newsgroups: borland.public.cppbuilder.internet.socket
Subject: TIdSync Question.
Date: Wed, 12 Jan 2005 19:53:10 -0600
Lines: 17
X-Priority: 3
X-MSMail-Priority: Normal
X-Newsreader: Microsoft Outlook Express 6.00.2900.2527
X-MimeOLE: Produced By Microsoft MimeOLE V6.00.2900.2527
X-RFC2646: Format=Flowed; Original
NNTP-Posting-Host: 63.245.8.17
Message-ID: <41e5d158$1@newsgroups.borland.com>
X-Trace: newsgroups.borland.com 1105580376 63.245.8.17 (12 Jan 2005 17:39:36 -0800)
Path: arc1-ca.pugleaf.net!g2news1.google.com!news4.google.com!news2.google.com!proxad.net!212.101.4.254.MISMATCH!solnet.ch!solnet.ch!newsfeed.freenet.de!newsfeed00.sul.t-online.de!newsfeed01.sul.t-online.de!t-online.de!newsgroups.borland.com!not-for-mail