-
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 ofXMPPClient
class.
Type |
Task
|
Priority |
Normal
|
Assignee | |
RedmineID |
4303
|
Issue Votes (0)
Watchers (0)
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.