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.

Features

  • Websocket Client
  • Websocket Server

Project Activity

See All Activity >

Follow PHP Websockets

PHP Websockets Web Site

You Might Also Like
AI-powered conversation intelligence software Icon
AI-powered conversation intelligence software

Unlock call analytics that provide actionable insights with our call tracking software, empowering you to identify what's working and what's not.

Every customer interaction is vital to your business success and revenue growth. With Jiminny’s AI-powered conversation intelligence software, we take recording, capturing, and meticulous analysis of call recordings to the next level. Unlock call analytics that provide actionable insights with our call tracking software, empowering you to identify what's working and what's not. Seamlessly support your biggest objectives across the entire business landscape with our innovative call tracking system.
Rate This Project
Login To Rate This Project

User Reviews

Be the first to post a review of PHP Websockets!

Additional Project Details

Operating Systems

Linux

Intended Audience

Developers

Programming Language

C, PHP

Related Categories

C HTTP Servers, C WebSocket Servers, PHP HTTP Servers, PHP WebSocket Servers

Registered

2012-12-27