Connected Property

Triggers a connection or disconnection.

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_MLLPSERVER_CONNECTED 2

IPWORKSEDI_EXTERNAL void* IPWORKSEDI_CALL IPWorksEDI_MLLPServer_Get(void *lpObj, int propid, int arridx, int *lpcbVal, int64 *lpllVal);
IPWORKSEDI_EXTERNAL int IPWORKSEDI_CALL IPWorksEDI_MLLPServer_Set(void *lpObj, int propid, int arridx, const void *val, int cbVal);
IPWORKSEDI_EXTERNAL int IPWORKSEDI_CALL IPWorksEDI_MLLPServer_CheckIndex(void *lpObj, int propid, int arridx);

Default Value

FALSE

Remarks

Triggers a connection or disconnection.

This property triggers a connection or disconnection.

Setting this property to True initiates a connection attempt to the host specified by the RemoteHost property. If successful, the value of this property changes to True and the Connected event is fired.

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 EDI 2020 C++ Edition - Version 20.0 [Build 8203]