SingleLineMode Property
Special mode for line-oriented protocols.
Syntax
ANSI (Cross Platform) int GetSingleLineMode();
int SetSingleLineMode(int bSingleLineMode); Unicode (Windows) BOOL GetSingleLineMode();
INT SetSingleLineMode(BOOL bSingleLineMode);
@property (nonatomic,readwrite,assign,getter=singleLineMode,setter=setSingleLineMode:) BOOL singleLineMode; - (BOOL)singleLineMode; - (void)setSingleLineMode:(BOOL)newSingleLineMode;
#define PID_PIPEEXEC_SINGLELINEMODE 8 IPWORKSIPC_EXTERNAL void* IPWORKSIPC_CALL IPWorksIPC_PipeExec_Get(void *lpObj, int propid, int arridx, int *lpcbVal, int64 *lpllVal); IPWORKSIPC_EXTERNAL int IPWORKSIPC_CALL IPWorksIPC_PipeExec_Set(void *lpObj, int propid, int arridx, const void *val, int cbVal);
Default Value
FALSE
Remarks
When this property is set to True, the class treats the incoming data stream as lines separated by CRLF, CR, or LF. The EOL property is ignored.
AcceptData will be automatically set to False when this property is set to True. Please refer to the GetLine method for more information.
This property is not available at design time.
Data Type
Boolean