Not logged in. · Lost password · Register
Forum: agsXMPP RSS
Avatar
TeCNoYoTTa #1
Member since May 2009 · 18 posts
Group memberships: Members
Show profile · Link to this post
Subject: Sign out when sending my packet
hello all
i am connecting to Google Talk using Gmail account but when i send my own packet

int PageNum = 0;
float HScroll = 0;
float VScroll = 0;
axFoxitReaderSDK1.ConvertClientCoordToPageCoord(0, 0, ref PageNum, ref HScroll, ref VScroll);
PDFstatus status = new PDFstatus(PageNum,axFoxitReaderSDK1.ZoomLevel,(double)HScroll,(double)VScroll);
agsXMPP.protocol.client.Message msg = new agsXMPP.protocol.client.Message();
msg.To = new Jid(partener.Text);
msg.AddChild(status);
xmpp.Send(msg);

i think when i send my packet i sign out !! ... why is that ??
Avatar
TeCNoYoTTa #2
Member since May 2009 · 18 posts
Group memberships: Members
Show profile · Link to this post
sorry :D i forgot to set the tag name and the namespace :D also forgot to register the class
Avatar
Alex #3
Member since Feb 2003 · 4449 posts · Location: Germany
Group memberships: Administrators, Members
Show profile · Link to this post
so its fixed now?

normally when a server disconnects you it should close the stream with an error. I the error element there is a reason.

Reasons can be:
  • you send invalid Xml
  • the server has policies or restrictions which you violate, this can be:
    • you packet is too big for the server setting
    • you consume too much traffic on a server.

Its always better to run your own XMPP server than using public once. Then you can set your own policies.

Alex
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