Not logged in. · Lost password · Register
Forum: agsXMPP RSS
Avatar
-glen- #1
Member since Sep 2009 · 16 posts
Group memberships: Members
Show profile · Link to this post
Subject: Inform Server if get broken socket connection
Hello! sir Alex,

I don't know if this Topic is in agsxmpp concern..i apologize if this is not your concerned anymore,i just want to ask if how server inform that the client gets a broken socket connection (e.g lost internet connection,accidentaly pull off the network cable).

i have a problem when i get a broken socket or the network is dead..the server will not detect it.im still online in the openfire server..and my buddy list will not receive unavailable presence of mine..

is there in agsxmpp can do something to solve this problem?or its all in the server side?

can u explain to me what really happen here?..

more power,
glen
Avatar
Alex #2
Member since Feb 2003 · 4327 posts · Location: Germany
Group memberships: Administrators, Members
Show profile · Link to this post
Quote by -glen-:
I don't know if this Topic is in agsxmpp concern..i apologize if this is not your concerned anymore,i just want to ask if how server inform that the client gets a broken socket connection (e.g lost internet connection,accidentaly pull off the network cable).
Because a XMPP session is one persistant TCP/IP connection you can't notify he sever of a broken connection. The server must detect the broken connection and log off the user.

Quote by -glen-:
i have a problem when i get a broken socket or the network is dead..the server will not detect it.im still online in the openfire server..and my buddy list will not receive unavailable presence of mine..
this shoud not happen.

Alex
Avatar
-glen- #3
Member since Sep 2009 · 16 posts
Group memberships: Members
Show profile · Link to this post
Hi sir Alex,

Thank you for your reply,I understand that this is not your concerned anymore,its all in the server side must react on this situation..i better post this question in the openfire forum.

thank you very much!
glen
Close Smaller – Larger + Reply to this post:
Verification code: VeriCode Please enter the word from the image into the text field below. (Type the letters only, lower case is okay.)
Smileys: :-) ;-) :-D :-p :blush: :cool: :rolleyes: :huh: :-/ <_< :-( :'( :#: :scared: 8-( :nuts: :-O
Special characters:
Forum: agsXMPP RSS