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);
- (BOOL)singleLineMode:(int)connectionId; - (void)setSingleLineMode:(int)connectionId:(BOOL)newSingleLineMode;
#define PID_IPDAEMON_SINGLELINEMODE 15 IPWORKS_EXTERNAL void* IPWORKS_CALL IPWorks_IPDaemon_Get(void *lpObj, int propid, int arridx, int *lpcbVal, int64 *lpllVal); IPWORKS_EXTERNAL int IPWORKS_CALL IPWorks_IPDaemon_Set(void *lpObj, int propid, int arridx, const void *val, int cbVal); IPWORKS_EXTERNAL int IPWORKS_CALL IPWorks_IPDaemon_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