On Tuesday, June 23, 2015 at 7:36:13 AM UTC-4, prerak jain wrote:
>
> I have a server which needs to run multiple process on 443 port, for that 
> I have a proxy server which will actually listen on 443 port and based on 
> the TLS Client Hello server name(SNI) field it forwards the socket fds to 
> the respective process using unix domain socket ancillary messages. Is 
> there any way in nodejs where I can fetch the socket fd from the ancillary 
> message and create connection using it.
>

You would have to write a binding to do that since support for it in core 
was removed post-node v0.4 I think? There are a couple of small 
libraries[1][2] that might make it a bit easier.

[1] https://github.com/mhaberler/libancillary
[2] https://github.com/sharvil/flingfd

-- 
Job board: http://jobs.nodejs.org/
New group rules: 
https://gist.github.com/othiym23/9886289#file-moderation-policy-md
Old group rules: 
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 unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
To post to this group, send email to [email protected].
To view this discussion on the web visit 
https://groups.google.com/d/msgid/nodejs/0e660b8f-0c07-4512-81a7-c0122047e234%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.

Reply via email to