On Monday, April 14, 2014 5:07:42 PM UTC-4, Reza Razavipour wrote: > > I was planning on using socket.io to connect to my node.js client to a > server using POSIX sockets. > > The server is being redesigned to support domain sockets since both server > and my node client will always run on the same host. > > Can I still use socket.io module or do I have to look for some other > module? > > If not, any module recommendation? >
socket.io is generally for browser<-->server communication. I think your situation would be better off with a plain 'net' socket and supplying a path to the unix socket instead of an IP and port: http://nodejs.org/api/net.html#net_net_connect_path_connectlistener -- -- 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/d/optout.
