site_archiver@lists.apple.com Delivered-To: darwin-kernel@lists.apple.com On 14 Sep 2018, at 07:40, Haohao Lee <hayatelee@gmail.com> wrote:
How can I get the local address in sf_connect_out_func or is there another way to achieve this?
Have you tried calling `sock_getsockname`? If anything is going to work, that’d be it. Share and Enjoy -- Quinn "The Eskimo!" <http://www.apple.com/developer/> Apple Developer Relations, Developer Technical Support, Core OS/Hardware _______________________________________________ Do not post admin requests to the list. They will be ignored. Darwin-kernel mailing list (Darwin-kernel@lists.apple.com) Help/Unsubscribe/Update your Subscription: https://lists.apple.com/mailman/options/darwin-kernel/site_archiver%40lists.... This email sent to site_archiver@lists.apple.com