- ssl:setHostName(name)
- name = ssl:getHostName()
SYNOPSIS
DESCRIPTION
Note: Only few actual servers support the ServerName feature. It is currently untested in the Core4 implementation.
When connecting to a server, it is possible to tell the server what name the client expects the server to have. This allows running multiple virtual servers on a single IP address.
Set the expected server name with ssl:setHostName(), query with ssl:getHostName().
This setting is only used if the connection mode is client.