Closed cowile closed 3 years ago
After further debugging. This was not the source of my problem. The st value is substituted elsewhere (but this is confusing and inconsistent).
What happens is the program does not read a response, even though wireshark confirms my roku is sending one that is making it to my computer.
The actual problem was a firewall blocking the response.
Previously, the discover function sent an incorrect value in the ST header of the SSDP request. It is supposed to be the string "roku:ecp" but was the string "{st}" due to incorrect use of format strings.