Skip to content
Thomas Barles edited this page Feb 4, 2016 · 6 revisions

Welcome to the FastFlicker wiki!

How to start?

Download the solution

Launch git bash where you want to download the solution, then type : git clone https://github.com/Paraintom/FastFlicker.git

Launch the application (Tested with Python 2.7.8)

launch FastFlicker.py. Under windows, it is just a matter of double clicking on the file. In the last line of this file, you see that the port by default is 8099. you can change it to any other port's number: server = SimpleWebSocketServer('', 8099, FastFlicker) Perfect, your server is now running on localhost on the port you have choosen!

Test it

Open twice the web page websocket.html here Then click on Connect, if connected you should see connected on both of the page.

Then instead of 'Hello World!', just put the same subject for both windows let's say 'test', and click on send on both windows. The server acknowledge the subject doing an echo that you should see. Then any message written on a windows should be visible on the other.

Example

For a real-life integration:

1- launch the service

2- open the chat component