use proper method to get human readable error string from netdb error code
use proper method to get human readable error string from netdb error code

ellert/canl-c,ellert/canl-c,CESNET/canl-c,CESNET/canl-c