-
Notifications
You must be signed in to change notification settings - Fork 2
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
SSDP connection can't get triggered. #3
Comments
Hey There! We need a couple more info for this problem. Which Version are you using? Which OS? Best regards |
Hi @bamkrs, Sorry, I should have included the information. I used master/latest source code including the three dependencies. I tried both on Windows 10/VS2015, and Ubuntu 21/gcc9. On windows, I have disabled all the firewall rules to allow incoming traffic. On Unbutu, tcpdum clearly showed the incoming SSDP UDP messages - I reckon there is no firewall rule would stop the packets. In a debug today on Windows, I found that select call returned correctly but never get triggered. I am planning to build a small project and would like it eventually run on a raspberry pi that pretends to be a light, so it takes commands from Google Nest hub, but in fact, controlling a garage door opener. |
Hi together, are there any news to this topic? I have already implemented the changes mentioned in issue oatpp/oatpp-ssdp#4. Kind regards! |
The select function in provider::ResourceHandledata::stream::IOStream SimpleUdpStreamProvider::get() always get fd ready, but when it's being processed, peek call always return 0 meaning nothing is there for reading.
Through netstat -na command I can confirm that it's listening to the 1900 ports, but when I use Wireshark to confirm the incoming SSDP discovery, it actually never get fired in the program.
Can you please help?
The text was updated successfully, but these errors were encountered: