I am trying to build some code that is originally target at OSX/BSD/Linux for the iPhone. It uses struct rt_msghdr
from route.h
but as it turns out this header is not available in the iPhone SDK.
Looks like the function tries to find the available bind addresses as a list of struct addrinfo
.
Does anyone have a suggestion how to proceed here?