Article View: borland.public.cppbuilder.internet.socket
Article #2370Re: TIdUDPServer (and Client)
From: Remy Lebeau (TeamB)
Date: Mon, 29 May 2006 17:23
Date: Mon, 29 May 2006 17:23
20 lines
1730 bytes
1730 bytes
"Paul" <plmacca@clara.co.uk> wrote in message news:447ae24c$1@newsgroups.borland.com... > What does the property ThreadedEvent do for the TIdUDPServer component? Like most of the Indy server components, TIdUDPServer is multi-threaded. It uses a worker thread to continuously read data from the UDP sockets. By default, TIdUDPServer uses TThread::Synchronize() to trigger the OnUDPRead event in the context of the main thread. Setting the ThreadedEvent property to true tells TIdUDPServer to not call Synchronize() so that the event handler is called in the context of the worker thread rather than the context of the main thread. > How does the IdUDPServerStatus event get triggered? There is no OnStatus event in TIdUDPServer in Indy 9. Gambit
Technical Details
Message-ID:
<447b2ea8@newsgroups.borland.com>Path:
arc1-ca.pugleaf.net!g2news2.google.com!news3.google.com!border1.nntp.dca.giganews.com!nntp.giganews.com!newsfeed00.sul.t-online.de!newsfeed01.sul.t-online.de!t-online.de!newsgroups.borland.com!not-for-mailReferences:
<44796d7e$1@newsgroups.borland.com> <4479fd0f$1@newsgroups.borland.com> <447ae24c$1@newsgroups.borland.com>Show Full Headers
Complete Article Headers
X-Google-Thread: 11508e,826a7ca2cbe06100 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: <44796d7e$1@newsgroups.borland.com> <4479fd0f$1@newsgroups.borland.com> <447ae24c$1@newsgroups.borland.com> Subject: Re: TIdUDPServer (and Client) Date: Mon, 29 May 2006 10:23:28 -0700 Lines: 22 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: <447b2ea8@newsgroups.borland.com> X-Trace: newsgroups.borland.com 1148923560 68.69.17.41 (29 May 2006 10:26:00 -0700) Path: arc1-ca.pugleaf.net!g2news2.google.com!news3.google.com!border1.nntp.dca.giganews.com!nntp.giganews.com!newsfeed00.sul.t-online.de!newsfeed01.sul.t-online.de!t-online.de!newsgroups.borland.com!not-for-mail