2.2.1.1 RESOURCENAME

This type is declared as follows:

 typedef [string] wchar_t* RESOURCENAME;

The target server name to which the RDG server connects. This refers to the ADM element Target server name (sections 3.1.1 and 3.5.1). The name MUST NOT be NULL and SHOULD be a valid server name. A valid target server name is one which DNS can resolve properly. Also, a valid target server is one which is up and running, and can accept a terminal server connection.

A RESOURCENAME can be an IP address, FQDN, or NetBIOS name. DNS cannot resolve all NetBIOS names—for example, there are differences in the allowed characters, differences in length, and differences in composition rules. Therefore, RESOURCENAME can be a NetBIOS name if the NetBIOS name uses characters and length restrictions allowed by DNS which enables DNS to resolve the name.