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

Use StdLig Socket class? #6

Open
thomthom opened this issue Oct 26, 2013 · 3 comments
Open

Use StdLig Socket class? #6

thomthom opened this issue Oct 26, 2013 · 3 comments

Comments

@thomthom
Copy link
Contributor

Instead of the undocumented singleton socket class in SketchUp, can we use the Standard Library Socket class?

http://ruby-doc.org/stdlib-2.0.0/libdoc/socket/rdoc/Socket.html

Create a separate instance and keep the connection open - sending the output the moment it arrives instead of using the timer?

@noelwarr
Copy link
Owner

Backward compatibility? What happens on older versions of sketchup

sent from my crappy galaxy mini
El 26/10/2013 12:52, "Thomas Thomassen" [email protected] escribió:

Instead of the undocumented singleton socket class in SketchUp, can we use
the Standard Library Socket class?

http://ruby-doc.org/stdlib-2.0.0/libdoc/socket/rdoc/Socket.html

Create a separate instance and keep the connection open - sending the
output the moment it arrives instead of using the timer?


Reply to this email directly or view it on GitHubhttps://github.com//issues/6
.

@thomthom
Copy link
Contributor Author

I guess one could make a wrapper - one that will load the SketchUp Socket for legacy SketchUp versions and use the StdLib Socket for newer versions.

@noelwarr
Copy link
Owner

I've run into some issues with the Stdlib Socket in the past but I'll look into it sometime if I get a chance.

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

2 participants