Subject: about agsXMPP SDK 's small sample
hello ~ Alex and Jabberer
XmppClientConnection xmpp = new XmppClientConnection("jabber.org");
xmpp.Open("myUsername", "mySecret");
// Wait for the OnLogin event and send your message
xmpp.Send( new Message("test@jabber.org", MessageType.chat, "Hello, how are you?"));
I copy these code to VS2005; but there was a error in this line <<xmpp.Send( new Message("test@jabber.org", MessageType.chat, "Hello, how are you?")); >>
the error's info is <<System.NullReferenceException>>
thanks~~
XmppClientConnection xmpp = new XmppClientConnection("jabber.org");
xmpp.Open("myUsername", "mySecret");
// Wait for the OnLogin event and send your message
xmpp.Send( new Message("test@jabber.org", MessageType.chat, "Hello, how are you?"));
I copy these code to VS2005; but there was a error in this line <<xmpp.Send( new Message("test@jabber.org", MessageType.chat, "Hello, how are you?")); >>
the error's info is <<System.NullReferenceException>>
thanks~~