Exodus4D c292087d9a WIP WebSocket Server for Pathfinder.
- Enables Map data push to clients (Browser)
2016-12-28 16:08:16 +01:00
2016-12-28 16:08:16 +01:00
2016-11-01 15:42:01 +01:00
2016-11-12 14:35:33 +01:00
2016-12-28 16:08:16 +01:00
2016-12-28 16:08:16 +01:00

[WIP] WebSocket server for Pathfinder

####Install:

  1. Install Composer
  2. Install Composer dependencies from composer.json file:
    • php composer.phar install (edit composer.phar path to your Composer installation)
  3. Start WebSocket server php cmd.php

####Default Configuration Clients (WebBrowser) listen for connections

  • Host:0.0.0.0. (=> any client can connect)
  • Port:8020
  • URI:127.0.0.1:8020 (Your WebServer (e.g. Nginx) should pass all WebSocket connections to this source)

TCP Socket connection (Internal use fore WebServer <=> WebSocket communication)

  • Host:127.0.0.1 (=> Assumed WebServer and WebSocket Server running on the same machine)
  • Port:5555
  • URI: tcp://127.0.0.1:5555

[Optional] The default configuration should be fine for most installations. You can change/overwrite the default Host and Port configuration by adding additional CLI parameters when starting the WebSocket server:

php cmd.php --pf_listen_host [CLIENTS_HOST] --pf_listen_port [CLIENTS_PORT] --pf_host [TCP_HOST] --pf_port [TCP_PORT]

####Info:

Description
No description provided
Readme 117 KiB
Languages
PHP 100%