🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

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

Re: Indy 9 and SysLog

#2596
From: Remy Lebeau (TeamB)
Date: Mon, 13 Mar 2006 21:11
23 lines
1785 bytes
"Paul" <plmacca@clara.co.uk> wrote in message
news:4413126f@newsgroups.borland.com...

> What does "create a temporary TIdUDPClient instance, when one
> has not already been assigned" mean?

It means exactly what it says.  SendToHost() creates a TIdUDPClient object
internally if one has not been assigned to the TdSysLogMessage yet.  This
allows you to use just TIdSysLogMessage by itself without a separate
TIdSysLog object.

> Did I achieve "assigning a TIdUDPClient instance" by doing the
> following in my code

No.  TIdSysLog and TIdSysLogMessage do not link themselves to each other at
all.  And by calling SendToHost() directly, you do not need TIdSysLog at
all, unless you want more control over the connection, in which case you
should be passing the TIdSysLogMessage to TIdSysLog::SendMessage() instead
of calling TIdSysLogMessage::SendToHost().


Gambit
Technical Details
Message-ID: <4415dfa5@newsgroups.borland.com>
Path: arc1-ca.pugleaf.net!g2news1.google.com!news1.google.com!news4.google.com!news.glorb.com!newsfeeds.ihug.co.nz!ihug.co.nz!newsgroups.borland.com!not-for-mail
References: <4412d1f1$1@newsgroups.borland.com> <4413068d$1@newsgroups.borland.com> <4413126f@newsgroups.borland.com>

Show Full Headers
Complete Article Headers
X-Google-Thread: 11508e,ce70b488f13a23ed
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: <4412d1f1$1@newsgroups.borland.com> <4413068d$1@newsgroups.borland.com> <4413126f@newsgroups.borland.com>
Subject: Re: Indy 9 and SysLog
Date: Mon, 13 Mar 2006 13:11:17 -0800
Lines: 25
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: <4415dfa5@newsgroups.borland.com>
X-Trace: newsgroups.borland.com 1142284197 68.69.17.41 (13 Mar 2006 13:09:57 -0700)
Path: arc1-ca.pugleaf.net!g2news1.google.com!news1.google.com!news4.google.com!news.glorb.com!newsfeeds.ihug.co.nz!ihug.co.nz!newsgroups.borland.com!not-for-mail