Ecosyste.ms: Awesome

An open API service indexing awesome lists of open source software.

Awesome Lists | Featured Topics | Projects

https://github.com/tongueroo/em_data_chopped

demo app to help with EM receive_data
https://github.com/tongueroo/em_data_chopped

Last synced: about 1 month ago
JSON representation

demo app to help with EM receive_data

Awesome Lists containing this project

README

        

# start listener in one window

$ ruby listener.rb

# send a long piece of data from another terminal
$ ruby talker.rb

################################################################################
tung@walle ~/Sites/br/em_data_chopped $ ruby listener.rb
listening
!!!!!
16384
!!!!!
16384
!!!!!
16384
!!!!!
16384
!!!!!
16384
!!!!!
16384
!!!!!
16384
!!!!!
3416

Thats one data packet, receive_data only receives it at 16384