title: nodejs socket receive data from one port and make available on another port
body: <p>I have two devices. One devices send data to one socket port ie. 9000 and another devices connected to another port ie. 8000 and I want 2nd device receive same data that is received on port 9000 from first device. </p>
  
  <p>I want to make a script using nodejs and socket io to receive data from one port like: <code>192.168.25.42:9000</code> and same received data should be available on different port <code>192.168.25.42:8000</code> </p>
  
  <p>any help appreciated. </p>