2.TLS. You need this to insure your XMPP stanzas are encrypted as required by the specifications. There’re few steps you need to do on windows:
1.Install GnuTls for windows. Pick the latest exe file. At time of writing, the last one is 2.7.3. 2.Assuming you’re using visual studio as your IDE, open visual studio command prompt (not your normal console) and type: lib /def:libgnutls-26.def on GnuTls bin folder. This will create a libgnutls-26.lib that can be used as a import library for Visual Studio projects.