@mscdex: Ah! I see what you mean now.

   - 
   
   socket: Establish secure connection on a given socket rather than 
   creating a new socket. If this option is specified, host and port are 
   ignored.
   
So, if the socket is passed, then is TLS negotiation is initiated on the 
existing socket?



On Wednesday, May 29, 2013 11:35:05 PM UTC-7, mscdex wrote:
>
> On May 30, 1:02 am, dhruvbird <[email protected]> wrote: 
> > @mscdex: I want to start tls negotiation on an already connected socket 
> > rather than an already created socket. Is that possible with the 
> standard 
> > exposed API?
> http://nodejs.org/api/tls.html#tls_tls_connect_options_callbackseems to 
> > suggest otherwise. 
>
> I'm not quite sure what you mean. The socket can be connected or not 
> when you pass it to tls.connect(). All you need is a reference to the 
> socket object. 
>

-- 
-- 
Job Board: http://jobs.nodejs.org/
Posting guidelines: 
https://github.com/joyent/node/wiki/Mailing-List-Posting-Guidelines
You received this message because you are subscribed to the Google
Groups "nodejs" group.
To post to this group, send email to [email protected]
To unsubscribe from this group, send email to
[email protected]
For more options, visit this group at
http://groups.google.com/group/nodejs?hl=en?hl=en

--- 
You received this message because you are subscribed to the Google Groups 
"nodejs" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
For more options, visit https://groups.google.com/groups/opt_out.


Reply via email to