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_PIPESERVER_SINGLELINEMODE 9

IPWORKSIPC_EXTERNAL void* IPWORKSIPC_CALL IPWorksIPC_PipeServer_Get(void *lpObj, int propid, int arridx, int *lpcbVal, int64 *lpllVal);
IPWORKSIPC_EXTERNAL int IPWORKSIPC_CALL IPWorksIPC_PipeServer_Set(void *lpObj, int propid, int arridx, const void *val, int cbVal);
IPWORKSIPC_EXTERNAL int IPWORKSIPC_CALL IPWorksIPC_PipeServer_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

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