Protocol Property
The SMPP protocol to be used.
Syntax
ANSI (Cross Platform) int GetProtocol();
int SetProtocol(int iProtocol); Unicode (Windows) INT GetProtocol();
INT SetProtocol(INT iProtocol);
Possible Values
SMPP_SMPP(0),
SMPP_CIMD2(1)
@property (nonatomic,readwrite,assign,getter=protocol,setter=setProtocol:) int protocol; - (int)protocol; - (void)setProtocol:(int)newProtocol;
Possible Values
SMPP_SMPP(0),
SMPP_CIMD2(1)
#define PID_SMPP_PROTOCOL 14 IPWORKS_EXTERNAL void* IPWORKS_CALL IPWorks_SMPP_Get(void *lpObj, int propid, int arridx, int *lpcbVal, int64 *lpllVal); IPWORKS_EXTERNAL int IPWORKS_CALL IPWorks_SMPP_Set(void *lpObj, int propid, int arridx, const void *val, int cbVal);
Default Value
0
Remarks
This property defines the protocol to be used when connecting to the server. Possible values are:
0 (smppSMPP - default) | SMPP for traditional SMPP servers |
1 (smppCIMD2) | CIMD2 for Nokia Short Message Service Center servers |
Data Type
Integer