The espat driver is unable to dial any socket because the IP returned by GetDNS() has quotes around it, and then ConnectTCPSocket() adds quotes as well, and you end up with a string that looks like ""0.0.0.0"".
This PR fixes the GetDNS() function by removing the quotes at the ends of the string before returning it.
The
espat
driver is unable to dial any socket because the IP returned byGetDNS()
has quotes around it, and thenConnectTCPSocket()
adds quotes as well, and you end up with a string that looks like""0.0.0.0""
.This PR fixes the
GetDNS()
function by removing the quotes at the ends of the string before returning it.