RAD Studio VCL Reference
ContentsIndex
PreviousUpNext
TBaseSocket.Receiveln Method

Reads delimited lines of data from the socket.

Pascal
function Receiveln(const eol: string = CRLF): string;
C++
__fastcall AnsiString Receiveln(const AnsiString eol = CRLF);

Receiveln reads a delimited chunk of data from the socket. The delimeter cannot be part of the character set. Receiveln fills the buffer until it reaches the delimeter

 

Copyright(C) 2009 Embarcadero Technologies, Inc. All Rights Reserved.
What do you think about this topic? Send feedback!