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_IPPORT_SINGLELINEMODE 20

IPWORKS_EXTERNAL void* IPWORKS_CALL IPWorks_IPPort_Get(void *lpObj, int propid, int arridx, int *lpcbVal, int64 *lpllVal);
IPWORKS_EXTERNAL int IPWORKS_CALL IPWorks_IPPort_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

Copyright (c) 2022 /n software inc. - All rights reserved.
IPWorks 2020 C++ Edition - Version 20.0 [Build 8307]