[Gear S3] TCP connection using nodejs

[Gear S3] TCP connection using nodejs

BY 19 Jun 2017 Web Application Development

I am trying to make TCP connection using nodejs through watch. Please tell me how to push file in samsung s3 watch and how to run it?

I have used this link:
https://developer.tizen.org/blogs/stewartchristie/2013/running-node.js-on-tizen-2.0

node is running successfully in emulator but not in actual device. Getting error when running a node file in shell, because watch doesn’t allow me to switch user to root. 

Please tell me steps to run a node file in shell and in which folder should I push this file?
Also share TCP connection code, I want to make server to server connection using watch.

Written by