mirror of
https://github.com/phpseclib/phpseclib.git
synced 2025-02-12 08:38:29 +00:00
SSH2: explain NET_SSH2_READ_NEXT in comments
This commit is contained in:
parent
b5b763b3f2
commit
756b247446
@ -142,7 +142,10 @@ define('NET_SSH2_READ_SIMPLE', 1);
|
|||||||
*/
|
*/
|
||||||
define('NET_SSH2_READ_REGEX', 2);
|
define('NET_SSH2_READ_REGEX', 2);
|
||||||
/**
|
/**
|
||||||
* Returns when a string matching the regular expression $expect is found
|
* Returns whenever a data packet is received.
|
||||||
|
*
|
||||||
|
* Some data packets may only contain a single character so it may be necessary
|
||||||
|
* to call read() multiple times when using this option
|
||||||
*/
|
*/
|
||||||
define('NET_SSH2_READ_NEXT', 3);
|
define('NET_SSH2_READ_NEXT', 3);
|
||||||
/**#@-*/
|
/**#@-*/
|
||||||
|
Loading…
x
Reference in New Issue
Block a user