mirror of
https://github.com/phpseclib/phpseclib.git
synced 2024-11-16 02:07:09 +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);
|
||||
/**
|
||||
* 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);
|
||||
/**#@-*/
|
||||
|
Loading…
Reference in New Issue
Block a user