Newsgroups: php.internals Path: news.php.net Xref: news.php.net php.internals:46282 Return-Path: Mailing-List: contact internals-help@lists.php.net; run by ezmlm Delivered-To: mailing list internals@lists.php.net Received: (qmail 90080 invoked from network); 4 Dec 2009 23:01:19 -0000 Received: from unknown (HELO lists.php.net) (127.0.0.1) by localhost with SMTP; 4 Dec 2009 23:01:19 -0000 Authentication-Results: pb1.pair.com header.from=samuel.roze@gmail.com; sender-id=pass; domainkeys=bad Authentication-Results: pb1.pair.com smtp.mail=samuel.roze@gmail.com; spf=pass; sender-id=pass Received-SPF: pass (pb1.pair.com: domain gmail.com designates 74.125.78.24 as permitted sender) DomainKey-Status: bad X-DomainKeys: Ecelerity dk_validate implementing draft-delany-domainkeys-base-01 X-PHP-List-Original-Sender: samuel.roze@gmail.com X-Host-Fingerprint: 74.125.78.24 ey-out-2122.google.com Received: from [74.125.78.24] ([74.125.78.24:14288] helo=ey-out-2122.google.com) by pb1.pair.com (ecelerity 2.1.1.9-wez r(12769M)) with ESMTP id AD/25-55077-EB4991B4 for ; Fri, 04 Dec 2009 18:01:18 -0500 Received: by ey-out-2122.google.com with SMTP id 9so733049eyd.39 for ; Fri, 04 Dec 2009 15:01:15 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:received:received:subject:from:to:content-type :date:message-id:mime-version:x-mailer:content-transfer-encoding; bh=soqPmUeoOhuQNXcCbjkiJQABRcrvPB7s3yqj/JQMnWk=; b=mSrxyeaD7nrsHduZ3yLfiOzd+KGqY2HLys5cEz5pBrmvhiXfUxrWclmuk63v21jlND h4W0Q1grMoPey8arL+8XI2dcQSWG/I6YHNd4GciEw0qlH89ICs0jDmOVQlQ3e+qCtw53 6ICMZdTHnY34xVtLCAE4UB0WK9c8+xsSSqTG8= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=subject:from:to:content-type:date:message-id:mime-version:x-mailer :content-transfer-encoding; b=ArjpyMZjr1cvacOaKRQxUt6OMBG4po78KxbU1XHhmjDHRIPMdkpeY5ynhKScb8kr8l GC2BhYifdZsBbij8G8VI7LfDEh4phK9xpOz1+/9WmOLyhThUM0hdc7nKn+Ca2um1iFOB THbMtbdVxzaUwjdNJCa+SkFTFDT9zB0ukzhoM= Received: by 10.213.0.144 with SMTP id 16mr3850589ebb.38.1259967674780; Fri, 04 Dec 2009 15:01:14 -0800 (PST) Received: from ?192.168.1.4? (91-171-145-201.rev.libertysurf.net [91.171.145.201]) by mx.google.com with ESMTPS id 10sm6034387eyz.47.2009.12.04.15.01.14 (version=SSLv3 cipher=RC4-MD5); Fri, 04 Dec 2009 15:01:14 -0800 (PST) To: PHP Internals Content-Type: text/plain; charset="UTF-8" Date: Sat, 05 Dec 2009 00:01:13 +0100 Message-ID: <1259967673.18144.4.camel@samuel-laptop> Mime-Version: 1.0 X-Mailer: Evolution 2.28.1 Content-Transfer-Encoding: 7bit Subject: Stream: Cast and Seek From: samuel.roze@gmail.com (Samuel ROZE) 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.