Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with
or
.
Download ZIP
Browse files

For Windows portability (what!), accept_nonblock -> select/accept.

  • Loading branch information...
commit db30b1947fb60d35e0de1df1023684a777c18e39 1 parent e4768da
Pete Elmore authored
Showing with 1 addition and 0 deletions.
  1. +1 −0  lib/live_console/io_methods/socket_io.rb
View
1  lib/live_console/io_methods/socket_io.rb
@@ -10,6 +10,7 @@ def start
@server ||= TCPServer.new host, port
begin
+ IO.select([server])
self.raw_input = self.raw_output = server.accept
return true
rescue Errno::EAGAIN, Errno::ECONNABORTED, Errno::EPROTO,
Please sign in to comment.
Something went wrong with that request. Please try again.