SMPPPort Property

This property contains the server port for secure SMPP (default 2775).

Syntax

ANSI (Cross Platform)
int GetSMPPPort();
int SetSMPPPort(int iSMPPPort); Unicode (Windows) INT GetSMPPPort();
INT SetSMPPPort(INT iSMPPPort);
@property (nonatomic,readwrite,assign,getter=SMPPPort,setter=setSMPPPort:) int SMPPPort;
- (int)SMPPPort;
- (void)setSMPPPort:(int)newSMPPPort;
#define PID_SMPP_SMPPPORT 21

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

2775

Remarks

For implicit SSL, use port 3551 (please refer to the SSLStartMode property for more information).

A valid port number (a value between 1 and 65535) is required for the connection to take place. The property must be set before a connection is attempted and cannot be changed once a connection is established. Any attempt to change this property while connected will fail with an error.

Data Type

Integer

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