RAD Studio VCL Reference
ContentsIndex
PreviousUpNext
TBaseSocket.Sendln Method

Writes delimited lines of data to the socket.

Pascal
function Sendln(s: string; const eol: string = CRLF): Integer;
C++
__fastcall int Sendln(AnsiString s, const AnsiString eol = CRLF);

Sendln sends a delimited chunk of data to the socket. The delimeter cannot be part of the character set. Sendln 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!