Subject: I know I'm doing something wrong
We're testing the agsXMPP tools (downloaded from NuGet) and I wrote a simple program:
(the password has been x'ed out in the code sample for obvious reasons).
It does nothing. The SV001 is the name of our OpenFire server, but when I send a message to the user in question there is no message popping up. This is VS 2012 as a console app (going to make a class library out of it but I wanted to test it this way first).
- using System;
- using System.Collections.Generic;
- using System.Linq;
- using System.Text;
- using agsXMPP;
- using agsXMPP.protocol.client;
- namespace ConsoleApplication1
- {
- class Program
- {
- static void Main(string[] args)
- {
- xmpp.Open(@"bwhite@sv001", "xxxxxxxxxx");
- }
- }
- }
(the password has been x'ed out in the code sample for obvious reasons).
It does nothing. The SV001 is the name of our OpenFire server, but when I send a message to the user in question there is no message popping up. This is VS 2012 as a console app (going to make a class library out of it but I wanted to test it this way first).