> Given the way you've set up your launchd property list, launchd should be binding the socket to INADDR_ANY. In that case, when you send packets
> via that socket, the source address of the packet will be determined by the interface via which that specific packet is routed. The socket should stay
> bound to INADDR_ANY, and thus maintain no memory of the IP address used to transmit.
>
> This assumes you're not calling <x-man-page://2/connect> on that socket. If you're calling connect that binds the socket's source address. In general, > using connected UDP sockets is a good idea, but
in this case it's probably going to cause you problems.
>
> S+E
> -- Quinn "The Eskimo!" <
http://www.apple.com/developer/>
> Apple Developer Relations, Developer Technical Support, Core OS/Hardware
Thanks Quin.
Yes, your are right.
I just double checked my code and did find a bug.
Thanks a lot :)