Method: Chromecast::Connection#has_data?
- Defined in:
- lib/chromecast/connection.rb
#has_data? ⇒ Boolean
54 55 56 57 58 |
# File 'lib/chromecast/connection.rb', line 54 def has_data? ready = IO.select([@socket], nil, nil, 0) return ready != nil end |