RE: [PECL-DEV] I want to publish my extension (php websockets)
| From: | Nathan Bruer | Date: | Thu, 27 Dec 2012 16:33:19 +0000 |
| Subject: | RE: [PECL-DEV] I want to publish my extension (php websockets) | ||
| References: | 1 | Groups: | php.pecl.dev |
| Request: | Send a blank email to pecl-dev+get-10111@lists.php.net to get a copy of this message | ||
Might I suggest making this extension into a class structure and make it
multi-threaded to keep blocking issues from happening.
This project used "on-event" functions on extending classes to deal with the
blocking issues:
https://github.com/nicokaiser/php-websocket
I wrote this one a while ago that uses multiple threads to deal with
blocking problems:
http://www.phpclasses.org/package/7259-PHP-Handle-Web-socket-accesses-using-
child-processes.html
Software Developer
Nathan Bruer
-----Original Message-----
From: Ray Perea [mailto:ray@snapws.com]
Sent: Thursday, December 27, 2012 9:32 AM
To: pecl-dev@lists.php.net
Subject: [PECL-DEV] I want to publish my extension (php websockets)
Hello. My name is Ray Perea of Snap Web Systems. (http://www.snapws.com) I
am writing this list because I would like to publish my PHP extension in
PECL
The extension introduces some functions for reading from and writing to
websockets (RFC6455)
These functions are:
ws_send() - Send data to a websocket connection
ws_read() - Read data from a websocket connection (Can read binary frames
and files)
ws_close() - Sends a close frame to the websocket client
I have published the source code at sourceforge:
https://sourceforge.net/p/phpwebsockets
Please have a look and see if you would like me to publish my extension in
PECL.
Thanks in advance for your consideration.
--
Ray Perea
Snap Web Systems Like us on Facebook Follow us on Twitter