Not logged in. · Lost password · Register
Forum: MatriX and XmppDotNet RSS
Avatar
jeffKotula #1
Member since Aug 2011 · 12 posts
Group memberships: Members
Show profile · Link to this post
Subject: Empty strings in periodic OnSendXml invocations
If I have an idle connection, there is a periodic OnSendXml event that gets fired, with the evt.Text value being emtpy (or null). I suspect this is related to the keep-alive. Is the firing of the OnSendXml event considered a bug, or should I just put in code to ignore the event if the evt.Text value is empty?
Avatar
Alex #2
Member since Feb 2003 · 4449 posts · Location: Germany
Group memberships: Administrators, Members
Show profile · Link to this post
are you using BOSH or sockets? When you use sockets then there should be the space character in the event args which gets sent for keep alives.

Alex
Avatar
jeffKotula #3
Member since Aug 2011 · 12 posts
Group memberships: Members
Show profile · Link to this post
Sockets. That's probably what's happening. Thanks!
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: