|Connection to a virtual host using android library [message #1753286]
||Fri, 03 February 2017 10:22
| godfrey mathais
Registered: February 2017
I am using the PAho android library and for now i am using the sample application to do an initial connection to my broker. The connection happens properly to the broker url , now i want to connect to a virtual host.|
Is there an API that will be helpful for me?
broker url : tcp://my.broker.com:1883
username : myguest
passwrod : myguest
Vhost : tcupguestTcup
I can connect to the host using
client.connect(conOpt, null, callback);
where conOpt has the username and password.
How can i add the Vhost to my connect request?
Powered by FUDForum
. Page generated in 0.02200 seconds