powered by Jive Software

Q:how to Manually specify the server address and port of the server

how to Manually specify the server address and port of the server rather than using a DNS SRV lookup trought smack api?

in the api document:

“Alternatively, you can use the XMPPServer(ConnectionConfiguration) constructor to specify advanced connection settings. Some of these settings include Manually specify the server address and port of the server rather than using a DNS SRV lookup.”

but I didn’t find the method ,can you give some help?

http://www.igniterealtime.org/builds/smack/docs/latest/documentation/connections .html