IMPort Property

The server port for XMPP (default 5222).

Syntax

ANSI (Cross Platform)
int GetIMPort();
int SetIMPort(int iIMPort); Unicode (Windows) INT GetIMPort();
INT SetIMPort(INT iIMPort);
@property (nonatomic,readwrite,assign,getter=IMPort,setter=setIMPort:) int IMPort;
- (int)IMPort;
- (void)setIMPort:(int)newIMPort;
#define PID_XMPP_IMPORT 16

IPWORKSMQ_EXTERNAL void* IPWORKSMQ_CALL IPWorksMQ_XMPP_Get(void *lpObj, int propid, int arridx, int *lpcbVal, int64 *lpllVal);
IPWORKSMQ_EXTERNAL int IPWORKSMQ_CALL IPWorksMQ_XMPP_Set(void *lpObj, int propid, int arridx, const void *val, int cbVal);

Default Value

5222

Remarks

For implicit SSL, use port 5223 (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 MQ 2020 C++ Edition - Version 20.0 [Build 8155]