Connected Property

This property is used to disconnect individual connections and/or show their status.

Syntax

ANSI (Cross Platform)
int GetConnected(int iConnectionId);
int SetConnected(int iConnectionId, int bConnected); Unicode (Windows) BOOL GetConnected(INT iConnectionId);
INT SetConnected(INT iConnectionId, BOOL bConnected);
- (BOOL)connected:(int)connectionId;
- (void)setConnected:(int)connectionId:(BOOL)newConnected;
#define PID_PIPESERVER_CONNECTED 4

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 is used to disconnect individual connections and/or show their status.

The Connected property may be set to false to close the connection.

Connected also shows the status of a particular connection (connected/disconnected).

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]