Not logged in. · Lost password · Register
Forum: MatriX and XmppDotNet RSS
Avatar
Huntsman #1
Member since Apr 2016 · 42 posts
Group memberships: Members
Show profile · Link to this post
Subject: Send multi xmls from Matrix .NET
Hello,

im trying to send multi xmls at once using matrix dll but i got error. please help me in this.

Example:

xml 1: <presence to='user@server.com' type='subscribe'>
xml 2: <presence to='user@server.com' type='unsubscribe'>

now im gonna send these 2 xmls at once.

Dim ele as XmppXElement = XmppXElement.LoadXml("<presence to='user@server.com' type='subscribe'><presence to='user@server.com' type='unsubscribe'>")

xmpp.Send(ele)

---------------------ERROR--------------------

please help how to send.
Avatar
Alex #2
Member since Feb 2003 · 4449 posts · Location: Germany
Group memberships: Administrators, Members
Show profile · Link to this post
you can send and load only one stanza at a time. This is by design.
Avatar
Huntsman #3
Member since Apr 2016 · 42 posts
Group memberships: Members
Show profile · Link to this post
Quote by Alex:
you can send and load only one stanza at a time. This is by design.

ohh :(

Thank you sir.
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: