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.