Skip to content

WaterSpout is a lightweight web server capable of handling WebSocket requests. When used as part of an event-driven server pair, WaterSpout enables real-time communication between the user's browser and the server using WebSockets or long polling. The reduced overhead as well as the specialized nature of the code running on the WaterSpout server…

License

Notifications You must be signed in to change notification settings

chrisnetonline/waterspout-server

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

58 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Quick guide to getting the server up and running.

Prerequisites

  • PHP 5.2.1 or above (PHP 5.3.x is recommended)
  • The following extensions must be enabled:

mbstring sockets openssl (required only if you want to enable ssl)

Overview

This "Getting Started" guide will walk you through the steps necessary to run the Locke demo. The Locke demo is a small virtual world where characters that look like John Locke from the show "Lost" can walk around and speak to each other. The demo serves static file content and uses either long polling or websockets (depending on the user's browser) to keep the characters synchronized across all users' screens.

3 Simple Steps

  1. Check out the source from GitHub: https://github.com/chrisnetonline/WaterSpout-Server
  2. From the top level of the check out run via the command line: php server.php
  3. Goto: http://localhost:7777/demos/locke

About

WaterSpout is a lightweight web server capable of handling WebSocket requests. When used as part of an event-driven server pair, WaterSpout enables real-time communication between the user's browser and the server using WebSockets or long polling. The reduced overhead as well as the specialized nature of the code running on the WaterSpout server…

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Contributors 2

  •  
  •