@@ -92,18 +92,20 @@ class Communicator
92
92
* @param string $host Hostname (IP or domain) of the RouterOS server.
93
93
* @param int|null $port The port on which the RouterOS server provides
94
94
* 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 .
97
97
* @param bool $persist Whether or not the connection should be a
98
98
* persistent one.
99
99
* @param float $timeout The timeout for the connection.
100
100
* @param string $key A string that uniquely identifies the
101
101
* connection.
102
102
* @param string $crypto The encryption for this connection. Must be one
103
103
* 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.
107
109
* @param resource $context A context for the socket.
108
110
*
109
111
* @see sendWord()
0 commit comments