Topic Path: Symbol Reference > Classes > TIdSysLogMessage Class > TIdSysLogMessage Methods > SendToHost Method
TIdSysLogMessage.SendToHost Method

Sends the Syslog message to the host specified host.

procedure SendToHost(
    const Dest: String
Host name or IP address to receive the syslog message. 

SendToHost is public procedure used to send the Syslog message to the host name or IP address indicated in Dest. SendToHost will create a temporary TIdUDPClient instance, when one has nopt already been assigned, to be used to for the transmission to the Syslog daemon in Dest. SendtoHost call TIdUDPClient.Send using Dest and IdPORT_syslog as the destintination for the contents of the message created using EncodeMessage.

Copyright 1993-2006, Chad Z. Hower (aka Kudzu) and the Indy Pit Crew. All rights reserved.
Post feedback to the Indy Docs Newsgroup.