The gethostbyaddr function gets the group record given the group address ADDRESS and its ADDRESSTYPE.
gethostbyaddr ADDRESS, ADDRESSTYPE