From: Roger Pack Date: 2010-05-02T08:50:33+09:00 Subject: Re: Upgrading a socket to an SSLSocket > Is it possible to 'upgrade' a normal socket to an SSL socket. I would > like to transmit and receive some data in plain text initially, before > performing the SSL handshake and start communicating securely, without > having to close and create a new socket. I think you can do it with eventmachine, since you call start_tls whenever you want. not sure about normal sockets, maybe there's a constructor to SSLSocket that takes a descriptor so you can pass descriptors about? -rp -- Posted via http://www.ruby-forum.com/.