Internet Direct (Indy) Version 9.0.2 Beta
TIdSysLogMessage.ReadFromStream
This message reads a SysLog message from stream.

procedure ReadFromStream(Src: TStream; Size: integer; APeer: String); virtual;
Parameters
Src: TStream
The stream to read the SysLog message from

Size: integer
The size of the data to read

APeer: String
The sender's address

Description
This message reads a SysLog message from stream and sets the TIdSysLogMessage as required. This method is usually called by the TIdSysLogServer before calling the TIdSysLogServer.OnSysLog event.