// Keep the name synchronized with LibC/netdb.cpp, constant 'lookup_server_endpoint_magic'. endpoint LookupServer { // Keep these definitions synchronized with gethostbyname and gethostbyaddr in netdb.cpp lookup_name(DeprecatedString name) => (int code, Vector addresses) lookup_address(DeprecatedString address) => (int code, DeprecatedString name) }