TCP connection using node
===

I would like to implement a TCP socket connection to an anonymous server{ chat.facebook.com:5222 } from a nodejs server . How / Where from do i start for this to be accomplished ?

It should be like a node replacement to fsockopen() function of PHP.