Description

Overrides the hostname to use for this socket.

Most of time this is useful if you're using an IP address but the server certificate only specifies DNS (names).

If NULL, then it will fetch from socket using Efl.Net.Socket.address_remote or Efl.Net.Dialer.address_dial.

It's only used if Efl.Net.Socket.Ssl.hostname_verify is true.

Since 1.19

Values

  • hostname_override - Hostname for this socket

Signature

@property hostname_override {
    get {
        values {
            hostname_override: free(string, free) @nullable;
        }
    }
    set {
        values {
            hostname_override: free(string, free) @nullable;
        }
    }
}

C signature

const char *efl_net_socket_ssl_hostname_override_get(const Eo *obj);
void efl_net_socket_ssl_hostname_override_set(Eo *obj, const char *hostname_override);

Implemented by

  • Efl.Net.Socket.Ssl.hostname_override