Remove unwanted debugging. And added error reporting. Function works. Tested with ADSIGRP_SYM_HNDBYNAME against a beckhoff plc.
Since there is no ADS Router yet. Add support for specifying IP, since the first 4 octets of the ams id is very seldom the IP of a hardware plc.
Merge pull request #8 from haakonnessjoen/master

Fix error return info for ADSreadWriteBytes, remove debugging. Add IP-connecting support.