Skip to content
New issue

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

share an arduino with dRuby #25

Closed
shokai opened this issue Jun 6, 2013 · 3 comments
Closed

share an arduino with dRuby #25

shokai opened this issue Jun 6, 2013 · 3 comments

Comments

@shokai
Copy link
Owner

shokai commented Jun 6, 2013

  • 最初にarduinoに接続したプロセスがdRubyサーバーになる
    • 適当な開いているportを使う
@shokai
Copy link
Owner Author

shokai commented Jun 13, 2013

切断されると

/Users/sho/.rbenv/versions/2.0.0-p0/lib/ruby/2.0.0/drb/drb.rb:741:in `rescue in block in open': druby://localhost:5010 - #<Errno::ECONNREFUSED: Connection refused - connect(2)> (DRb::DRbConnError)

がthrowされる

@shokai
Copy link
Owner Author

shokai commented Jun 14, 2013

portが他のプロセスで使われていてもdRubyでは開けてしまう

@shokai
Copy link
Owner Author

shokai commented Jun 14, 2013

#26 で解決してた

@shokai shokai closed this as completed Jun 14, 2013
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

1 participant