On Wed, Jan 8, 2014 at 4:24 PM, James Newton <lexog...@gmail.com> wrote: > We don't want to change the Commander application, because if we do, it will > no longer respond to the hardware console. We are looking for a way of > stripping the header so that the Node.js application on the server can mimic > the console perfectly. > > My question: is there a module that we can use on the server to forward just > the expected string to the existing Commander application?
Not sure this is what you're after (and I haven't tried it) but perhaps websocket-upgrade? When handling the upgrade event, re-transmit the message to the Commander application using a regular (non-web)socket. <https://npmjs.org/package/websocket-upgrade> -- Scott Elcomb @psema4 http://psema4.com/pubkey.txt http://www.pirateparty.ca/ -- -- 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 nodejs@googlegroups.com To unsubscribe from this group, send email to nodejs+unsubscr...@googlegroups.com 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 nodejs+unsubscr...@googlegroups.com. For more options, visit https://groups.google.com/groups/opt_out.