Difference between revisions of "TWSocket.LineMode"

From Overbyte
Jump to navigation Jump to search
(first entry)
(No difference)

Revision as of 10:51, 13 September 2006

Main page -> ICS component reference -> TWSocket -> LineMode

Definition

property LineMode: boolean;

Description

If set to true, LineMode enables automatic splitting of received data into packets based on a user definable char sequence.

Example

If the client always sends data lines which end on CR/LF and the server shall display the lines individually in a memo, the server would set LineMode to true so that he always receives whole lines without needing to look for the end of a line himself.

Best practices

How to