[RfC]Net_Server
| From: | Stephan Schmidt | Date: | Thu, 17 Jul 2003 11:29:40 +0000 |
| Subject: | [RfC]Net_Server | ||
| Groups: | php.pear.dev | ||
| Request: | Send a blank email to pear-dev+get-18333@lists.php.net to get a copy of this message | ||
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