Skip to content

Latest commit

 

History

History
38 lines (25 loc) · 772 Bytes

README.md

File metadata and controls

38 lines (25 loc) · 772 Bytes

WebSocketDemo

Simple WebSocket demo in PHP.

Getting started

A very simple chat application is included. To use the demo please follow the steps below:

  1. Download the sauce
  2. Point the WebSocket client to the correct address in the file /public/js/main.js on line 4
  3. Let the WebSocket server listen to the correct address and port in the file /server/start.php on line 77
  4. Setup your webserver to server /public/index.php
  5. Start the WebSocket server at /server/start.php
  6. Navigate to the demo in your browser, e.g.: http://localhost:1337/start.php

Implementation

RFC 6455

PHP version

5.4+

License

MIT

Status of the project

This is just the result of some quick gluing code together.