- use dig before gethostbyname to resolve host names

This commit is contained in:
2018-08-09 09:10:10 +02:00
parent 04f9554f3d
commit 8de1fd4183
6 changed files with 59 additions and 80 deletions

View File

@ -112,9 +112,9 @@ char *AsconHostport(Ascon *a);
/**
* \brief return IP address
* \param a The Ascon to query
* \return the IP address
* \return the IP address (dotted numbers)
*/
unsigned long AsconIP(Ascon *a);
char *AsconIP(Ascon *a);
/**
* \brief set or get timeout