As far as I can tell, gSsdpReqSocket(4|6) is not bound when SearchByTarget is called, so the source port is random. Is the SDK ever aware of what port is chosen, and is there a way that client code can reference this port number?
Alternatively, is there a way to bind gSsdpRequestSocket in advance so that we can know the source port for future searches?
As far as I can tell, gSsdpReqSocket(4|6) is not bound when SearchByTarget is called, so the source port is random. Is the SDK ever aware of what port is chosen, and is there a way that client code can reference this port number?
Alternatively, is there a way to bind gSsdpRequestSocket in advance so that we can know the source port for future searches?