# RemoteHostNameAliases

## Description

Returns an array of strings containing all host names and host name aliases for the remote host specified by the socket handle.

{% hint style="info" %}
**Good to know:** You can get all the available names of a remote host with this method.
{% endhint %}

## Remarks

None.



## Prototype

CHAR\* CSockQ::RemoteHostNameAliases(long SocketHandle, long \&IndexNum)



