You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I have been using cyberlink in iOS project for a while, and I noticed in some networks I have issue with device discovery.
I narrowed down an issues and found that after parsing SSD-header, when ssdp listener thread is trying to retrieve a device description it just blocks on connect, in the case when TCP-connection gets dropped on RST.
So I think you should also has a timeout mechanism on connect().
(I resolved it by setting a socket to non-blocking mode, then using select() with timeout, and after select returns, setting the socket back to blocking mode)