SingleLineMode Property
This property shows the special mode for line-oriented protocols.
Syntax
ANSI (Cross Platform) int GetSingleLineMode(int iConnectionId);
int SetSingleLineMode(int iConnectionId, int bSingleLineMode); Unicode (Windows) BOOL GetSingleLineMode(INT iConnectionId);
INT SetSingleLineMode(INT iConnectionId, BOOL bSingleLineMode);
#define PID_BTDAEMON_SINGLELINEMODE 15 IPWORKSBT_EXTERNAL void* IPWORKSBT_CALL IPWorksBT_BTDaemon_Get(void *lpObj, int propid, int arridx, int *lpcbVal, int64 *lpllVal); IPWORKSBT_EXTERNAL int IPWORKSBT_CALL IPWorksBT_BTDaemon_Set(void *lpObj, int propid, int arridx, const void *val, int cbVal); IPWORKSBT_EXTERNAL int IPWORKSBT_CALL IPWorksBT_BTDaemon_CheckIndex(void *lpObj, int propid, int arridx);
Default Value
FALSE
Remarks
This property shows the special mode for line-oriented protocols. When SingleLineMode is True, the class treats the incoming data stream as lines separated by CRLF, CR, or LF. The EOL property is ignored.
The ConnectionId parameter specifies the index of the item in the array. The size of the array is controlled by the ConnectionCount property.
This property is not available at design time.
Data Type
Boolean