Your Digital Media Has Never Looked So Good

 
Olinzer
Topic Author
Posts: 2
Joined: Thu Sep 08, 2011 2:32 pm

BrightScript UDP

Fri Sep 09, 2011 3:41 pm

Hi there!

I'm new to the brightscript language. After reading the reference pdfs. I have a question.

How can I send data to the roku throught UDP. I mean, I have my app on the PC and this need to send data to the roku.

What's the IP of the brightsign device, how can I find it? Or what do I have to do in brightscript to start a UDP server?

My roku will be running a script, with a Whlie(true) loop.

Any help will be appreciated.

Thanks!
 
jbrave
Posts: 716
Joined: Mon Mar 22, 2010 3:00 pm
Location: Ben Lomond, CA
Contact:

Re: BrightScript UDP

Fri Sep 09, 2011 5:43 pm

BrightSign is a different division of Roku, this is the forum for the Roku video player. That being said, there are some examples in the 3.0 SDK on UDP communications for the Roku video player.

To find your ip, use the roDeviceInfo component. There is a thread from a few weeks ago on this subject.

- Joel
Screenshades: The first Screensaver for Roku2!
Musiclouds: The best free internet music, on your Roku!
Ouroborialis: Psychedelic Screensaver for Roku!
 
User avatar
RokuKevin
Roku Engineering
Posts: 796
Joined: Tue Sep 22, 2009 2:29 pm

Re: BrightScript UDP

Mon Sep 12, 2011 9:36 am

In the v3.0 SDK, there is a socket_tests sample app that includes a udpEcho example....

--Kevin
 
Olinzer
Topic Author
Posts: 2
Joined: Thu Sep 08, 2011 2:32 pm

Re: BrightScript UDP

Mon Sep 12, 2011 3:17 pm

Ok,

Thanks.

Who is online

Users browsing this forum: No registered users and 5 guests