socket.write to all socket - node.js

i have problem with connecting from adobe flash cs4 [xmlsocket] to socket.io !

then I decided to use net module in node.js for creating real time app .

my app (flash) connect to node.js net module (TCP) True !

my app send and receive message from server But

i Want A code In Server.js For Broadcast Any Data received From Clients To other clients Like Socket.io Code (io.sockets.emit("msg"))

i use socket.write for Send message to client But this Code send To current Client ! No all Clients :(

You need to read the documentation before posting question. Here's your answer available in docs.

http://socket.io/docs/#broadcasting-messages