Re: Socket_Socket as "extended copy" of Net_Socket

From: Date: Fri, 07 Feb 2003 12:31:42 +0000
Subject: Re: Socket_Socket as "extended copy" of Net_Socket
References: 1 2 3 4  Groups: php.pear.dev 
Request: Send a blank email to pear-dev+get-13047@lists.php.net to get a copy of this message
Hm.. well. lots of people already voted for a new Socket category Jon Parise wrote:
On Fri, Feb 07, 2003 at 07:10:36AM +0100, Stephan Seidt wrote:
As I said the possibility to create a listen sockets with it. (>servers)
Ah, I see. Would it be appropriate to name it Net_SocketListener, then?
If somebody doesn't have "sockets" extension the new package can't work. So if sockets extension is not available a Net_Socket is being returned so the user can use it.
Yes, that feels like the right thing to do, provided Net_Socket is available.
-- if (!$TCPA->connect()) { throw new Exception('Sorry, no coffe today', EX_FATAL); }

« previous php.pear.dev (#13047) next »