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: 

ICMP?

Looking at the available networking components, I only see socket options. Is there a way to perform ICMP such as PING or TraceRoute? (non-port options)
0 Kudos
2 REPLIES 2
Anonymous
Visitor

Re: ICMP?

The SDK doesn't provide any ICMP functionality. Can I ask what you're trying to do?
0 Kudos
geebs
Visitor

Re: ICMP?

i have my rokus check in by having them listen on a udp port for a text string. when my server sends the the text string. it is recieved by the player then broadcasts its unique dev ID back to my server.

server command to send string: echo "pingall" | nc -u 192.168.1.255 2222

server command to listen for response and store in a file: nc -w 10 -l -u 192.168.1.1 2223 >/tmp/rokus.tmp
0 Kudos
Need Assistance?
Welcome to the Roku Community! Feel free to search our Community for answers or post your question to get help.

Become a Roku Streaming Expert!

Share your expertise, help fellow streamers, and unlock exclusive rewards as part of the Roku Community. Learn more.