qxmpp-project / qxmpp

Cross-platform C++ XMPP client and server library
408 stars 197 forks source link

Socket timeout #516

Open ronhanic opened 1 year ago

ronhanic commented 1 year ago

I am using QXmppClient and connecting to a server that fails over. when i am connected to the first server and it fails it fails over to server 2 and i take the existing QXmppClient instance and log it into the 2nd server. I then turn back on the 1st server and fail the second server and so the same reconnect. At this point QXmppClient fails with a socket timeout. Question: is there any way to shorten the socket timeout. or does anyone have a suggestion on how to handle this situation Thanks