Newsgroups: php.internals Path: news.php.net Xref: news.php.net php.internals:46260 Return-Path: Mailing-List: contact internals-help@lists.php.net; run by ezmlm Delivered-To: mailing list internals@lists.php.net Received: (qmail 17900 invoked from network); 1 Dec 2009 21:19:46 -0000 Received: from unknown (HELO lists.php.net) (127.0.0.1) by localhost with SMTP; 1 Dec 2009 21:19:46 -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 209.85.219.226 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: 209.85.219.226 mail-ew0-f226.google.com Received: from [209.85.219.226] ([209.85.219.226:42369] helo=mail-ew0-f226.google.com) by pb1.pair.com (ecelerity 2.1.1.9-wez r(12769M)) with ESMTP id B9/D4-65100-278851B4 for ; Tue, 01 Dec 2009 16:19:46 -0500 Received: by ewy26 with SMTP id 26so5876636ewy.23 for ; Tue, 01 Dec 2009 13:19:43 -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=O3fbj3p8JD5HcurWj8VU20322dCnWkE6VJjqAd4ZjZk=; b=QMWvzi3N5zS9A/dWQZVaYJSzCMbL5y4ycMAwtgowva1B/lwo80VmYztvrFcvc85PWF B0YvX8OxnzyxQ17lKqbtOgjbyL7ZD2Iwi1QWoprydyDoRswUWmdu8uImOgw3K2P7T7pM diGg8sOvijZHU10w4eolhm7JdGkYsf2ENv14o= 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=auNl7xpTMUaJsyM/dIDx/YIplO+SItDdFjUlvXKLxDwVs0tXwx4VObMCYUgfX11xYG qm2Em3sycV4BIVaxBlbcVL4X7Py/haoTD/L50esjU3ROhErGun0aYbdbrWiIj84vrrnV hng2OIvEAPf222uD/7/iY3mcmPz9gCAeOHs9c= Received: by 10.213.23.204 with SMTP id s12mr6672190ebb.69.1259702381669; Tue, 01 Dec 2009 13:19:41 -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 10sm1263899eyd.5.2009.12.01.13.19.40 (version=SSLv3 cipher=RC4-MD5); Tue, 01 Dec 2009 13:19:41 -0800 (PST) To: PHP Developers Mailing List Content-Type: text/plain; charset="UTF-8" Date: Tue, 01 Dec 2009 22:19:39 +0100 Message-ID: <1259702379.25156.8.camel@samuel-laptop> Mime-Version: 1.0 X-Mailer: Evolution 2.28.1 Content-Transfer-Encoding: 7bit Subject: An SSH shell like a stream From: samuel.roze@gmail.com (Samuel ROZE) Hi, In the description of ssh2_shell, there's: "Open a shell at the remote end and allocate a stream for it." So the result of this command must be a stream. Well, it's good, I'll use fgets, fwrite and stream_* functions ! BUT, the problem is that I can't use a SSH2 Stream with the stream_select function... Warning: stream_select() [function.stream-select]: cannot represent a stream of type SSH2 Channel as a select()able descriptor in XX on line XX Why I cannot ? Is there a workaround ? Regards, Samuel ROZE.