- Ongoing attempt to setup a stim_server and stim_client
- Making simplifications. Just one client instead of many
- Fixed "[Errno 98] Address already in use"
Misc. Changes

Added while loop in handle() method.
The server/client works without any time.sleep()
Adding add_trigger() method
Removed option for bind_and_activate
Removing attribute buffer_size
Triggers returned are now integers
Added timeout error in get_trigger() method
Added unit tests for TCP/IP connection of StimServer/Client
added fakebrainresponse() method to RtMockClient

- fake response works
- Added unit test
Adding example for real-time feedback.

Please enter the commit message for your changes. Lines starting
Fixation cross + precise timer

- Added a fixation cross to the example to make it more realistic.
- The timer should be more precise now instead of using core.wait()
Removed weird delay by using TCP/IP from the beginning itself
Added plot of decoding accuracy
Making the trigger values match the original stimuli trigger values
Cleanup commit
FIX: timing issues

- don't raise iterationerror but return None
- add client while initializing to avoid delay in the beginning
- get triggers in psychopy script when stimuli is being displayed
Verbose + Unit-tests

- Added logger.info and added verbose option
- Simplified test_mockclient
- Fixed unit-test error
Rectifying and adding docstrings
Cosmetic changes to plot + small API change
Adding "with" statement to allow Ctrl + C and avoid "Address in use"
error.
FIX: Unit-test + mne.logger + mywin.close()

- Made the unit-tests compatible with the "with" format.
- Fixed issue of mne.logger propagating and appearing twice.
- Fixed mywin.close() issue
No more time.sleep() in server side script required :)

Also modified unit test accordingly
Cleanup commit
Fixed failing test and removed redundant thread