SetConnectFlags

SetConnectFlags 1:

This method saves additional, optional TLS configuration settings of the client.

METHOD FINAL SetConnectFlags : I_SocketTlsSettingsClass
VAR_INPUT
    flags : ST_TlsConnectFlags;
END_VAR

flags: Parameter of type ST_TlsConnectFlags with additional, optional TLS configuration settings of the client. The value of the "flags" member variable "bNoserverCertCheck" determines whether the server certificate is checked (FALSE, default) or not checked (TRUE). The value of the "flags" member variable "bIgnoreCnMismatch" determines whether a mismatch in the "CommonName" of the certificate is ignored (TRUE) or reported as an error (FALSE, default).

Return parameter: Own interface pointer of type I_SocketTlsSettingsClass.