Cloud-Automation / node-modbus

Modbus TCP Client/Server implementation for Node.JS
471 stars 175 forks source link

Modified README.md. Corrected example code #10

Closed timelesshaze closed 8 years ago

timelesshaze commented 8 years ago

Corrected the server and client example code to make them runnable. The two unimplemented methods call the callback with errors, OK for an example. The client port was changed from 502 to 8888 to mirror the (unprivileged) server example. Formatted javascript as javascript and corrected indentation to make it more readable.