News Feed
Jobs Feed
Sections




News Archive
Looking for more information on how to do PHP the right way? Check out PHP: The Right Way

Chris Chabot's Blog:
phpSocketDaemon
December 18, 2006 @ 18:08:00

Chris Chabot has posted a PHP package he's worked up that functions as a daemon sitting and listening on a socket.

To deal with 1000's of concurrent, always on (comet aka hanging iframe) http (server) connections, and an equal amount of IRC client connections, plus being able to interpret and parse and delegate all the messages and events, i needed a very fast, stable, flexible and easy to use 'daemon' library for PHP.

He links to the tarball of the release and to the project page as well as including an example of its usage - creating a simple HTTP server with various hooks built in (like on_connect, on_read, and on_timer).

0 comments voice your opinion now!
socket daemon phpsocketdaemon download example socket daemon phpsocketdaemon download example


blog comments powered by Disqus

Similar Posts

PHP -GTK Community Site: A New Trio of Posts (phpISO, a PHP-GTK book, and Dev Inspector)

AnyExamples.com: PHP Whois Client Function

Stefan Koopmanschap's Blog: Barcodes and QR codes in PHP

PHPBuilder.com: Using PHP for the Creation of SVG Images

PHP.net: PHP versions 5.2.15 and 5.3.4 Released!


Community Events











Don't see your event here?
Let us know!


application example package install security code opinion overview component unittest facebook composer release hack podcast framework symfony2 introduction language hhvm

All content copyright, 2014 PHPDeveloper.org :: info@phpdeveloper.org - Powered by the Solar PHP Framework