In Jaxmpp library it is possible to set custom port, while TigaseSwift lacks this feature.
Setting custom server port may be useful in cases when DNS SRV records are not set and server uses non default port on which it accepts clients connections.
Andrzej Wójcik (Tigase) commented 8 years ago
I added this feature and now it is possible to set custom server port to connect to (ie. 5345) without DNS SRV records by calling
In Jaxmpp library it is possible to set custom port, while TigaseSwift lacks this feature.
Setting custom server port may be useful in cases when DNS SRV records are not set and server uses non default port on which it accepts clients connections.