Roku Developer Program

Join our online forum to talk to Roku developers and fellow channel creators. Ask questions, share tips with the community, and find helpful resources.
cancel
Showing results for 
Show  only  | Search instead for 
Did you mean: 
greubel
Visitor

Socket interrupts hanging

Every once in a while the Roku hangs and I have to reboot (unplug). This usually happens after a long period of inactivity.
Had no idea why, BUT I just caught a trace that had a LOT of "roSocketEvent" interrupts.
My question: Is there any way to associate the id from "id = msg.getSocketID()" to the actual socket ? So that maybe, I could close it ?
0 Kudos
1 REPLY 1
greubel
Visitor

Re: Socket interrupts hanging

Follow on question: I have multiple UDP and TCP sockets open in receive mode.
When I quit the application by hitting the "Home" key, will all the sockets be forced closed ?
This is the only thing I can see that would cause the Roku to go into "brick" mode after a prolonged period of time.
Sometimes it only takes five minutes and then I have to power it off to get back.
Maybe this is a difference being in Developer mode.
0 Kudos