Sunday 28 May 2017

nodejs socket receive data from one port and make available on another port

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.

I want to make a script using nodejs and socket io to receive data from one port like: 192.168.25.42:9000 and same received data should be available on different port 192.168.25.42:8000

any help appreciated.



via Ravendra Patel

No comments:

Post a Comment