Nodejs with socket.io may do the job perfectly. You may think it would be slow, but Nodejs "scripts" have been shown to be as fast as C/C++ native apps in many cases.
On Fri, Aug 22, 2014 at 1:14 PM, Michael M <[email protected]> wrote: > You'll have two separate programs for the BBB(socket server) and the > computer(socket client). In your case, the BBB will program will infinitely > loop, waiting for messages. The computer will be event-driven, only sending > messages when a gesture has been detected. You should google "C++ sockets" > and start from there. This type of tedious research is the price(and > ultimately reward) for working on a cool project. > > On Friday, August 22, 2014 5:45:29 AM UTC-7, Ved Prakash Pandey wrote: >> >> Thank you so much Michael. :) >> I read about socket connections. How can I use it to send data from my >> C++ code on computer? And how can I have a code on my BBB (again in C++) >> accept the data sent from my computer? >> >> It'll be of great help if you suggest references from where I can learn >> more about sending data to devices through my code on PC. >> Thank you again! :) >> >> > -- > For more options, visit http://beagleboard.org/discuss > --- > You received this message because you are subscribed to the Google Groups > "BeagleBoard" group. > To unsubscribe from this group and stop receiving emails from it, send an > email to [email protected]. > For more options, visit https://groups.google.com/d/optout. > -- For more options, visit http://beagleboard.org/discuss --- You received this message because you are subscribed to the Google Groups "BeagleBoard" group. To unsubscribe from this group and stop receiving emails from it, send an email to [email protected]. For more options, visit https://groups.google.com/d/optout.
