Node's net.connect() in the browser?

I was wondering if it's possible to use this node.js TCP abstraction in the browser? I'm looking into Browserify right now but maybe something already exists, thanks for any help!

you can proxy tcp connections using socket.io and tcp.js

You cannot use plain TCP in browsers yet (it is a chrome experiment), you should use some module like Socket.io, it is like TCP, has events like socket.on("message") like the TCP.