Subject: Great Job, Alex
I downloaded the 0.6 version.
I rebuilded the solution and project files for VS2003 ( if someone is interested, I could post them somewhere ).
In the process, because I cannot see the 'official' project, I did some little hacking to the Header.cs and Headers.cs files in the protocol\component\extensions\shim folder, to get them compiled ( because I could not guess whether them were required ).
Only now I can see that they are not required, because ElementFactory
only references the classes in the protocol.extensions.shim namespace
After that the whole thing compiled happily.
Simply trapping the OnSocketError event, my test app can recover cleanly from the two most probable errors: unreachable host, or XMPP server not listening.
I rebuilded the solution and project files for VS2003 ( if someone is interested, I could post them somewhere ).
In the process, because I cannot see the 'official' project, I did some little hacking to the Header.cs and Headers.cs files in the protocol\component\extensions\shim folder, to get them compiled ( because I could not guess whether them were required ).
Only now I can see that they are not required, because ElementFactory
only references the classes in the protocol.extensions.shim namespace
AddElementType("headers", Uri.SHIM, typeof(agsXMPP.protocol.extensions.shim.Header));
AddElementType("header", Uri.SHIM, typeof(agsXMPP.protocol.extensions.shim.Headers));
AddElementType("header", Uri.SHIM, typeof(agsXMPP.protocol.extensions.shim.Headers));
After that the whole thing compiled happily.
Simply trapping the OnSocketError event, my test app can recover cleanly from the two most probable errors: unreachable host, or XMPP server not listening.
This post was edited on 2006-04-19, 23:47 by Alex.