Internet Direct (Indy)
Home
PreviousUpNext
TIdSysLogMessage.SendToHost Method

Sends the Syslog message to the host specified host.

Pascal
procedure SendToHost(
    const Dest: String
);
Parameters 
Description 
Dest 
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.

Internet Direct (Indy) version 10.1.5
Copyright © 1993-2006, Chad Z. Hower (aka Kudzu) and the Indy Pit Crew. All rights reserved.
Website http://www.indyproject.org.
Post feedback to the Indy Documentation newsgroup.