Model Type Software Version
1. HD N1000 3.1 build 1011 013.01E01011A
2. XDS 2100X 3.1 build 1011 013.01E01011A
3. Roku 2 3100X 4.3 build 1039 024.03E01039A
sk = socket.socket(socket.AF_INET, socket.SOCK_DGRAM, socket.IPPROTO_UDP)
sk.sendto('M-SEARCH * HTTP/1.1\nMAN:"ssdp:discover"\nST:roku:ecp\n\n', ('18.104.22.168',1900))
while 1: print sk.recvfrom(999)
Ok, that works. Ran the script on my mac and all the boxes responded. But that is the same as using the Roku app from my iPhone. It, finds them all.
The Roku broadcast code and replies always works. But my code running at the user level with the SDK only works on a wired connection ???
The same code works fine on the other two boxes for both wired and wireless ???
You would think that it would either work or not, on all the boxes. Need some consistency.