Hi Sean,
this is exactly the position where the library(client) is sending the StartTLS command over the socket. Its switching here from unencryped socket to TLS encryped socket. With a async stream the Mono Security library had problems here in older versions. So i was sending a space here which starts all the SSL stuff, and after that the real data. This is no problem because the space is just a ignored whitespace in XMPP between stanzas.
It would be easier if you try first the the "old style SSL " working, and after that the StartTLS stuff. For the old SSL you have to set UseSSL = true, and Port =5223, UseTLS should be false but i think it doent matter.
With this settings the socket is SSL from the beginning, if your server is configured to listen for SSL sockets on port 5223.
Alex
this is exactly the position where the library(client) is sending the StartTLS command over the socket. Its switching here from unencryped socket to TLS encryped socket. With a async stream the Mono Security library had problems here in older versions. So i was sending a space here which starts all the SSL stuff, and after that the real data. This is no problem because the space is just a ignored whitespace in XMPP between stanzas.
It would be easier if you try first the the "old style SSL " working, and after that the StartTLS stuff. For the old SSL you have to set UseSSL = true, and Port =5223, UseTLS should be false but i think it doent matter.
With this settings the socket is SSL from the beginning, if your server is configured to listen for SSL sockets on port 5223.
Alex