phpsocketdaemon 1.0 PHP script

SPONSORED LINKS

    Specification

  • Version: 1.0
  • File size: 0 KB
  • File name: phpsocketdaemon-1.0.tar.gz
  • Last update:
  • Platform: Windows / Linux / BSD / Solaris
  • Language: PHP
  • Price:LGPL
  • Company: chabotc (View more)

phpsocketdaemon 1.0 script description:




Publisher review:
phpsocketdaemon - A library for writing a daemon in PHP that can handle massive amounts of client and server connections By using this library you can focus on implementing protocol and logic, instead of spending countless hours of writing and debugging asynchronous, non blocking, high performance socket routines.This project came into existence while i was writing a new, ground breaking IRC chat web application.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.However no such thing existed yet, hence this library was created.The tarbal includes a demo HTTP server implimentation, which will give you a good impression of what its capable off, and how to use this library.To create a server is as simple as 3 lines of code, for example for our http server:$daemon = new socketDaemon();$server = $daemon->create_server('httpdServer', 'httpdServerClient', 0, 2001);$daemon->process();And then a class implementation which deals with the on_read and on_disconnect events.The socket library takes care of the rest of the IO management (using a socket select loop), read and write buffering (for full asynchronous, non blocking communication) and resource management.Creating a client with this framework is just as simple:$client = $daemon->create_client('myClientClass', 'remote.com', 80);And then implimenting a socketClient class, ie:class myClientClass extends socketClient {.. deal with on_read, on_write, on_connect and on_disconnect..
phpsocketdaemon 1.0 is a PHP script for Development Tools scripts design by chabotc. It runs on following operating system: Windows / Linux / BSD / Solaris.

Operating system:
Windows / Linux / BSD / Solaris

Latest script and internet news

222

222

22

Posted on: 18 Jul 2023 22:27 by A. Brown

111

111

111

Posted on: 18 Jul 2023 22:24 by A. Brown

The permanently active Push system offered by the new Google Chrome 42

The permanently active Push system offered by the new Google Chrome 42

Hacked By !Sc-sT

Posted on: 17 Mar 2015 07:57 by A. Brown

SPREAD THE WORD

User Rating


Rating: 2.2 out of 5
Based on 13 ratings. 13 user reviews.

  • Currently 2.15 out of 5
  • 1
  • 2
  • 3
  • 4
  • 5