This method will change the host name assigned to the specified
client session. If the nClientId parameter has a value of zero, the
method will change default host name that was assigned to the server
as part of the server configuration. If the nClientId parameter
specifies a valid client session and the lpszHostName parameter
is NULL, the host name associated with the client session will be
changed to the current host name assigned to the server.
When a client connects to the server, it can specify the host name
that it used to establish the connection by sending the HOST command.
This is typically used with virtual hosting, where one server may
accept client connections for multiple domains. The GetName
method will return the host name specified by the client, and
SetName can be used by the application to either explicitly
assign a different host name to the client session, or override the
host name provided by the client.