ZBLOG

NEIPv4Settings

NEIPv4Settings is a class in the Network Extension framework provided by Apple. It defines properties and methods that allow developers to configure IPv4-related network settings for their app’s VPN tunnel.

Some of the key properties of NEIPv4Settings include:

  • address: The IPv4 address of the VPN client.
  • subnetMask: The subnet mask used to define the VPN client’s network.
  • includedRoutes: An array of NEIPv4Route objects that define the destination IP addresses and subnet masks reachable through the VPN tunnel.
  • excludedRoutes: An array of NEIPv4Route objects that define the destination IP addresses and subnet masks that should not be routed through the VPN tunnel.
  • dnsSettings: An instance of NEDNSSettings that contains DNS configuration information for the VPN tunnel.

Developers can use these properties along with other methods in the NEIPv4Settings class to customize their app’s VPN tunnel and ensure that traffic is properly routed through the VPN connection.

本站部分文章来源于网络,版权归原作者所有,如有侵权请联系站长删除。
转载请注明出处:https://sdn.0voice.com/?id=266

分享:
扫描分享到社交APP
上一篇
下一篇
发表列表
游客 游客
此处应有掌声~
评论列表

还没有评论,快来说点什么吧~

联系我们

在线咨询: 点击这里给我发消息

微信号:3007537140

上班时间: 10:30-22:30

关注我们
x

注册

已经有帐号?