We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
It should be possible to pass a TCPSocket to a new Thread:
TCPSocket
Thread
loop do Thread.new(@server.accept) do |client| client.puts "hello" client.close end end
The text was updated successfully, but these errors were encountered:
The TCPSocket you are talking is https://github.com/iij/mruby-io ?
Sorry, something went wrong.
@mattn TCPSocket is actually defined in https://github.com/iij/mruby-socket, which depends on mruby-io.
No branches or pull requests
It should be possible to pass a
TCPSocket
to a newThread
:The text was updated successfully, but these errors were encountered: