Re: [RfC]Net_Server
| From: | Tomas V.V.Cox | Date: | Wed, 27 Aug 2003 12:41:02 +0000 |
| Subject: | Re: [RfC]Net_Server | ||
| References: | 1 | Groups: | php.pear.dev |
| Request: | Send a blank email to pear-dev+get-20629@lists.php.net to get a copy of this message | ||
Hi Stephan,
I'm -1 on this package. I just imagine a user downloading 10Mb and the
rest of users hanged until he finished. A Net_server component is a
must for us, every language has one, so it can't have such
limitations.
Please correct me if I'm wrong.
Regards,
Tomas V.V.Cox
Pd.- Sorry I was on vacations, that's why I couldn't reply before.
On Thursday, July 17, 2003 13:29, Stephan Schmidt wrote:
> Hi,
> I'd like to release my generic server class through PEAR.
> It makes use of ext/sockets to provide a simple API and callbacks for any
> kind of server. I've currently implemented an HTTP server with it as well as
> a server for Flash multiplayer games and chats. Furthermore I'm working on a
> Jabber server based on the server class. I think that illustrates that the
> class is generic and can be used in different scenarios. There's no limit
> for simultaneous connections. It supports callbacks for
> - onStart()
> - onConnect()
> - onClose()
> - onDataReceived()
> - onConnectionRefused() (you may set a max of simultaneous connections)
> - onShutdown()
> You can take a look at the documentation, the code and examples at
> http://www.php-tools.net/?file=patServer/overview.xml
> Stephan
--
Tomas V.V.Cox mailto:cox@idecnet.com