TBlockSocket.RecvTerminated
TBlockSocket     

function RecvTerminated(Timeout: Integer; Const Terminator: string): string; virtual;

Unit
blcksock

Description
Note: This is high-level receive function. It using internal LineBuffer and you can combine this function freely with other high-level functions.

Method waits until data string is received. This string is terminated by Terminator string. The resulting string is returned without this termination.

If no data is received within TIMEOUT (in milliseconds) period, LastError is set to WSAETIMEDOUT.

You may also specify maximum length of reading data by MaxLineLength property.


See also:
LineBuffer, MaxLineLength, RecvBufferEx, RecvByte, RecvPacket, RecvString