@@ -92,18 +92,20 @@ class Communicator
9292 * @param string $host Hostname (IP or domain) of the RouterOS server.
9393 * @param int|null $port The port on which the RouterOS server provides
9494 * the API service. You can also specify NULL, in which case the port
95- * will automatically be chosen between 8728 and 8729, depending on your
96- * encryption setting .
95+ * will automatically be chosen between 8728 and 8729, depending on the
96+ * value of $crypto .
9797 * @param bool $persist Whether or not the connection should be a
9898 * persistent one.
9999 * @param float $timeout The timeout for the connection.
100100 * @param string $key A string that uniquely identifies the
101101 * connection.
102102 * @param string $crypto The encryption for this connection. Must be one
103103 * of the PEAR2\Net\Transmitter\NetworkStream::CRYPTO_* constants. Off
104- * by default. For the sake of simplicity, if you specify an encryption,
105- * don't specify a context and your default context uses the value
106- * "DEFAULT" for ciphers, "ADH" will be automatically added to the list.
104+ * by default. RouterOS currently supports only TLS, but the setting is
105+ * provided in this fashion for forward compatibility's sake. And for
106+ * the sake of simplicity, if you specify an encryption, don't specify a
107+ * context and your default context uses the value "DEFAULT" for
108+ * ciphers, "ADH" will be automatically added to the list of ciphers.
107109 * @param resource $context A context for the socket.
108110 *
109111 * @see sendWord()
0 commit comments