Add possibility to set server port to connect to (#19)
Andrzej Wójcik (Tigase) opened 8 years ago
Due Date
2016-07-03

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

client.connectionConfiguration.setServerPort(5345);

or by calling

client.sessionObject.setUserProperty(SocketConnector.SERVER_PORT, value: 5345);

where client is instance of XMPPClient class.

issue 1 of 1
Type
Task
Priority
Normal
Assignee
RedmineID
4303
Issue Votes (0)
Watchers (0)
Reference
tigase/_libraries/Martin#19
Please wait...
Page is in error, reload to recover