Download of phpwebsockets-1.3.tar.gz (phpwebsockets-1.3.tar.gz ( external link: SF.net): 20,624 bytes) will begin shortly. If not so, click link on the left.

File Information

File Size
20,624 bytes
MD5
a5fa1d326df5a78e7f2d9f660d71e1a8

Projeto Descrição

This project provides 6 new functions to PHP that are meant to interact with a websocket (RFC6455) peer.

ws_get_frame_info() - Gets information about an upcoming websockets frame ws_read_frame() - Reads the data of a websockets frame from a client or server ws_send_close() - Sends a close frame to the websockets peer ws_send_ping() - Sends a ping frame to the websockets peer ws_send_pong() - Sends a pong frame to the websockets peer

These functions are written in low level C so they are fast when compared with functions that are written in PHP, especially for operations like sending and receiving larger binary files.