TBlockSocket.RecvString
TBlockSocket
function RecvString(Timeout: Integer): string; virtual;
Unit
blcksock
Description
Method waits until data string is received. This string is terminated by LF character. The resulting string is returned without this termination (CR LF).
If no data is received within TIMEOUT (in milliseconds)period, LastError is set to WSAETIMEDOUT.
Methods serves for line protocols implementation and uses its own LineBuffer to maximize operation power. Therefore do NOT use this method with other methods for data receiving because of possible data loss. You may combine this function only with RecvBufferEx method!
See also:
RecvBufferEx