S12 Implement gethostbyname2