Subject: Closing connection...reconnecting
I have noticed that if I have XmppClientConnection opened while user was trying to loggin and authentification failed I have to close, dispose connection and then recreate it and bind events again so I could try to loggin user again. Just closing connection and opening it again doesn't work.
while creating XmppClientConnection, it's global member in my class, I was attaching all events needed. After failing authentification I was closing it in OnAuthError event. Next time user is trying to connect with valid data, events are not fired.
Maybe I'm doing something wrong... is there a better way can somebody tell me, please...
Maybe methods Login, Logoff, Reconnect should be implemented as well, or I haven't found them yet in huge documentation
Thx to the Ag-Software crew!
while creating XmppClientConnection, it's global member in my class, I was attaching all events needed. After failing authentification I was closing it in OnAuthError event. Next time user is trying to connect with valid data, events are not fired.
Maybe I'm doing something wrong... is there a better way can somebody tell me, please...
Maybe methods Login, Logoff, Reconnect should be implemented as well, or I haven't found them yet in huge documentation

Thx to the Ag-Software crew!

Preky