On Sun, May 13, 2012 at 5:40 AM, Slicc <[email protected]> wrote: > Is it possible to create a secure socket connection from monotouch. I > understand that nettcp is not possible, but are there other options? > Sslstream for example?
There's no suport for SSL/TLS on a socket (in MonoTouch, Mono or MS.NET). It was a design decision (from MS). Working with streams is easier and can be reused more easily (even if I don't recall any non-socket "real life" uses). > This needs to a persistent connection, no https. SslStream is not HTTPS. It's used for HttpWebRequest (for HTTPS) but also for database connections that requires SSL/TLS. SslStream is SSL/TLS on a stream. If you create a NetworkStream on a Socket then you'll effectively have a "secure socket connection". Sebastien _______________________________________________ MonoTouch mailing list [email protected] http://lists.ximian.com/mailman/listinfo/monotouch
