Skip to content

jahanzaibbahadur/WebSocketDemo

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

36 Commits
 
 
 
 
 
 
 
 

Repository files navigation

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 duct-taping code together.

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • PHP 82.4%
  • JavaScript 15.4%
  • CSS 2.2%