roccomuso / netcat

:computer: Netcat client and server modules written in pure Javascript for Node.js.
MIT License
419 stars 43 forks source link

Forwarding Serial port (scale connected to COM12) to listen to port 87 on my local machine #12

Open JoseAReinoso opened 4 years ago

JoseAReinoso commented 4 years ago

Hello, First of all thanks for this awesome package you created, i really appreciate your help, will definitely donate! (where can i do it?)

Now, i have a question for you, i have a scale that i is connected to serial port COM12 and the idea is to have this COM12 listening to request being made from a web app on port 87so that when this happens both the webapp and scale starts communicating with each other , using your package how can i forward port 87 to COM12.

this is the settup on my COM12: Baud rate = 9600 Data bits = 7 Parity: even Stop bits = 1 Flow control none

Please advise,

Thanks so much for this !

roccomuso commented 4 years ago

This package isn't intended to work with serial ports. You should use something like https://github.com/serialport/node-serialport

Bitcoin donation: bc1q2flsafyfmnz2phlf20t8l6y6zdx2n0eqz676nn