Not logged in. · Lost password · Register
Forum: agsXMPP RSS
lingx825 #1
Member since Nov 2007 · 23 posts
Group memberships: Members
Show profile · Link to this post
Subject: How to create complicate custom packet type?
If I have a xml stream like this:

<iq from=... to=... type=...>
     <query xmlns=.....>
maybe more complicate strutcture,consider the child tag as a class,How to create the C# class for IQ and Element,
What it may look like?what if the complicate structure embed in <message>?
Thanks for any help.
Alex #2
Member since Feb 2003 · 4296 posts · Location: Germany
Group memberships: Administrators, Members
Show profile · Link to this post

this is no problem. We deal with such packets everywhere in the agsXMPP code.
You should study the custom packets document and some classes in the agsXMPP source code.
I think the Vcard classes in the namespace are a very good example for you.

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