Type Method

defaultRoute

A convenience method for creating the default IPv4 route.

Declaration

+ (NEIPv4Route *const)defaultRoute;

Return Value

An NEIPv4Route object containing the default IPv4 route.

Discussion

Set this route in the includedRoutes array in the NEIPv4Settings object to specify that all IPv4 network traffic be routed to the TUN interface by default.

See Also

Creating an IPv4 Route