Internet Direct (Indy)
|
Retrieves all data from a connection.
function AllData: string; virtual;
string - Data read from the connection.
AllData is a virtual String function that retrieves data from a peer connection until the connection is closed.
AllData triggers the OnWorkBegin event handler by calling BeginWork.
While the connection is open, AllData calls CheckForDataOnSource to determine if data is available on the underlying data source. Data is accumulated by calling InputBufferAsString until the connection is closed. The return value for the method consists of the accumulated string values from InputBufferAsString.
AllData triggers the OnWorkEnd event handler by calling EndWork.
Do not use AllData unless the communications protocol supports using the connection in this manner. Protocols which support AllData include Finger, Quote of the Day, and WhoIs.
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. |