Network.framework: Receiving UDP response from other UDP port

Some network protocols allow response to UDP request to arrive from other server's port than the one request is sent to. However these responses are ignored (ICPM message is sent back) if Network.framework is used. Is there a way how to actually receive such packets? I have tried to create a listener for the connection, or to start a listener with the ip+port of the local address of the connection used to send the original request, in a hope that I would get these via new connection objects, but these did not work...
Can you provide a more concrete example of what you are looking to achieve here? Are you wanting to create a UDP listener on all ports? Is this for two servers on a local network or over a public network?


Matt Eaton
DTS Engineering, CoreOS
meaton3@apple.com
Network.framework: Receiving UDP response from other UDP port
 
 
Q