On 25 September 2013 05:09, Ricardo do Valle <[email protected]> wrote:
> @Colin the rails server is running in a VPS with nginx and unicorn.

So the server is running on a different computer to the browser, and
you want a page in the browser to interact with an app on the PC
running the browser.  I believe this is not possible, and nor should
it be possible.  Would you want a web page to be able to affect
applications running on the PC?  Imagine what a malicious website
could do if this were possible.

Colin

>
> @Fernando, thank you very much, but it is not alternative for this project,
> i will study the chrome devs API for a future and another project, have you
> used already?
>
> I am looking for a way to create sockets and controls (state machine) from a
> rails app or another way to do that.
>
>
>
>
> On Tue, Sep 24, 2013 at 5:08 PM, Colin Law <[email protected]> wrote:
>>
>> On 24 September 2013 19:44, Ricardo do Valle <[email protected]>
>> wrote:
>> > Hi everyone,
>> >
>> > I need that my web app talk with a dektop application.
>>
>> Which computer is the web application running on (not the browser, the
>> rails server)?
>>
>> Colin
>>
>> >
>> > User case: a user click a button on the page, and this button send a
>> > command
>> > to the desktop app and wait for the answer from destkop app or timeout.
>> >
>> > I am using Rails 4 and Qt/C++, but it is not mandatory to use Qt/C++.
>> > The desktop app is used to talk with computer usb port.
>> >
>> > Anyone hava any tips or help?
>> > Thanks
>> >
>> > --
>> > You received this message because you are subscribed to the Google
>> > Groups
>> > "Ruby on Rails: Talk" group.
>> > To unsubscribe from this group and stop receiving emails from it, send
>> > an
>> > email to [email protected].
>> > To post to this group, send email to [email protected].
>> > To view this discussion on the web visit
>> >
>> > https://groups.google.com/d/msgid/rubyonrails-talk/CALQXn34YNjWotDWX6YdVtk9Y-N1SYg5dc-aCVHsPU6WuP-jCsg%40mail.gmail.com.
>> > For more options, visit https://groups.google.com/groups/opt_out.
>>
>> --
>> You received this message because you are subscribed to the Google Groups
>> "Ruby on Rails: Talk" group.
>> To unsubscribe from this group and stop receiving emails from it, send an
>> email to [email protected].
>> To post to this group, send email to [email protected].
>> To view this discussion on the web visit
>> https://groups.google.com/d/msgid/rubyonrails-talk/CAL%3D0gLu5CuygbkG9OeG2tRsFyKNgtHSqyJXhR83fdzN7QHqseA%40mail.gmail.com.
>>
>> For more options, visit https://groups.google.com/groups/opt_out.
>
>
>
>
> --
> Ricardo do Valle
>
> --
> You received this message because you are subscribed to the Google Groups
> "Ruby on Rails: Talk" group.
> To unsubscribe from this group and stop receiving emails from it, send an
> email to [email protected].
> To post to this group, send email to [email protected].
> To view this discussion on the web visit
> https://groups.google.com/d/msgid/rubyonrails-talk/CALQXn36nRg66poyssORqXC2kzeKW-8Mch5d3tgJn01_dgOKz_Q%40mail.gmail.com.
>
> For more options, visit https://groups.google.com/groups/opt_out.

-- 
You received this message because you are subscribed to the Google Groups "Ruby 
on Rails: Talk" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
To post to this group, send email to [email protected].
To view this discussion on the web visit 
https://groups.google.com/d/msgid/rubyonrails-talk/CAL%3D0gLv39JkLm-jMvLgHwELO7xDEtSRgAwZocFHOYqf_Qtd6FQ%40mail.gmail.com.
For more options, visit https://groups.google.com/groups/opt_out.

Reply via email to