Re: Re: [PEPr] Comment on System::System_Socket
| From: | Michael Wallner | Date: | Sun, 11 Apr 2004 15:32:32 +0000 |
| Subject: | Re: Re: [PEPr] Comment on System::System_Socket | ||
| References: | 1 2 3 4 | Groups: | php.pear.dev |
| Request: | Send a blank email to pear-dev+get-27420@lists.php.net to get a copy of this message | ||
I wrote:
Sorry Jon, I might have been a bit too "hot". System_Socket is probably not able to do the work Net_Socket is supposed to do, because fsockopen('https://secure-site', $port); which is easily done with Net_Socket means to implement SSL communication in PHP code yourself, at least I guess.Uh, that really reads odd... :) What I wanted to say was that Net_Socket is based on fsockopen() which AFAIK uses PHPs built in stream wrappers (like SSL), which is not the case for ext/sockets. System_Socket aims to provide a tight and robust OO API to PHP4s ext/sockets (to quote the proposal text) and in my opinion a Net_Socket2 could/should use PHP5s stream[_socket]* functions and utilize the new stream API and functionality. I can understand your POV, shared mine and am looking forward to a hopefully constructive discussion growing out of this. Regards, Michael