Stream: Cast and Seek
| From: | Samuel ROZE | Date: | Fri, 04 Dec 2009 23:01:13 +0000 |
| Subject: | Stream: Cast and Seek | ||
| Groups: | php.internals | ||
| Request: | Send a blank email to internals+get-46282@lists.php.net to get a copy of this message | ||
Hello,
I'm working on the use of a PHP SSH2 Stream returned by ssh2_shell
function with stream_select() function. Within the PHP code, before
being used into the select() C function, a stream have to be "casted"...
The problem is that I don't really know what is it and how it generally
works.
So, can someone explain to me what means "cast" and "seek" streams ?
(In fact, I have to cast a php_ssh2_channel_stream)
Thanks a lot.
Regards,
Samuel ROZE.