is there any way to get an event from a net.socket when data is sent? I have an app where I want to hand off a socket to a library, but then for debugging purposes I want to log everything sent or received over the socket by the library. I'd rather not have to change the library, and I can register a 'data' handler to get the incoming data, but what about the outoing?
-- 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 nodejs+unsubscr...@googlegroups.com. To post to this group, send email to nodejs@googlegroups.com. To view this discussion on the web visit https://groups.google.com/d/msgid/nodejs/d927b9d3-7b6d-4e71-b3a9-c736f28fec9b%40googlegroups.com. For more options, visit https://groups.google.com/d/optout.