Instance Method

initWithDestinationAddress:subnetMask:

Initialize the NEIPv4Route object.

Declaration

- (instancetype)initWithDestinationAddress:(NSString *)address subnetMask:(NSString *)subnetMask;

Parameters

address

An IPv4 address string. This string is combined with subnetMask to specify the destination network of the route.

subnetMask

An IPv4 network mask string. This string is combined with address to specify the destination network of the route.

See Also

Creating an IPv4 Route

+ defaultRoute

A convenience method for creating the default IPv4 route.