diff --git a/src/MQTTAsync.h b/src/MQTTAsync.h index e0de3449..173f9e4e 100644 --- a/src/MQTTAsync.h +++ b/src/MQTTAsync.h @@ -918,13 +918,13 @@ LIBMQTT_API int MQTTAsync_reconnect(MQTTAsync handle); *
* @em tcp:// or @em mqtt:// - Insecure TCP *
- * @em ssl:// or @em mqtts:// - Encrypted SSL/TLS + * @em ssl:// or @em tls:// or @em mqtts:// - Encrypted SSL/TLS *
* @em ws:// - Insecure websockets *
* @em wss:// - Secure web sockets *
- * The TLS enabled prefixes (ssl, mqtts, wss) are only valid if a TLS + * The TLS enabled prefixes (ssl, tls, mqtts, wss) are only valid if a TLS * version of the library is linked with. * For host, you can specify either an IP address or a host name. For * instance, to connect to a server running on the local machines with the @@ -1311,8 +1311,8 @@ typedef struct /** * An array of null-terminated strings specifying the servers to * which the client will connect. Each string takes the form protocol://host:port. - * protocol must be tcp, ssl, ws or wss. - * The TLS enabled prefixes (ssl, wss) are only valid if a TLS version of the library + * protocol must be tcp, ssl, tls, ws or wss. + * The TLS enabled prefixes (ssl, tls, wss) are only valid if a TLS version of the library * is linked with. * For host, you can * specify either an IP address or a domain name. For instance, to connect to diff --git a/src/MQTTClient.h b/src/MQTTClient.h index 8d4978bf..b65cae21 100644 --- a/src/MQTTClient.h +++ b/src/MQTTClient.h @@ -508,13 +508,13 @@ LIBMQTT_API int MQTTClient_setPublished(MQTTClient handle, void* context, MQTTCl *
* @em tcp:// or @em mqtt:// - Insecure TCP *
- * @em ssl:// or @em mqtts:// - Encrypted SSL/TLS + * @em ssl:// or @em tls:// or @em mqtts:// - Encrypted SSL/TLS *
* @em ws:// - Insecure websockets *
* @em wss:// - Secure web sockets *
- * The TLS enabled prefixes (ssl, mqtts, wss) are only valid if a TLS + * The TLS enabled prefixes (ssl, tls, mqtts, wss) are only valid if a TLS * version of the library is linked with. * For host, you can specify either an IP address or a host name. For * instance, to connect to a server running on the local machines with the @@ -927,7 +927,7 @@ typedef struct * An optional array of null-terminated strings specifying the servers to * which the client will connect. Each string takes the form protocol://host:port. * protocol must be tcp, ssl, ws or wss. - * The TLS enabled prefixes (ssl, wss) are only valid if a TLS version of the library + * The TLS enabled prefixes (ssl, tls, wss) are only valid if a TLS version of the library * is linked with. * For host, you can * specify either an IP address or a host name. For instance, to connect to