AnsweredAssumed Answered

Smack 4.1.6 connection time

Question asked by JavaFan on Apr 27, 2016
Latest reply on Apr 28, 2016 by Flow

Hi all,


I am a newbie to Smack & Openfire server and having a question about connecting & login to openfire sever using Smack API


I'm running the following code and those simple lines take 350 milisec. to execute , my question is : there is anyway to reduce this time and is that even normal?


XMPPTCPConnectionConfiguration config = XMPPTCPConnectionConfiguration.builder()

  .setUsernameAndPassword(username, password)






connection = new XMPPTCPConnection(config);