首页 > 网站 > 建站经验 > 正文

IOS获取自身网!络IP信息的方法

2019-11-02 14:42:46
字体:
来源:转载
供稿:网友

  2012-11-26 13:06:48.102 RouterAddressDemo[451:907] broadcast address--192.168.1.255

  2012-11-26 13:06:48.108 RouterAddressDemo[451:907] local device ip--192.168.1.221

  2012-11-26 13:06:48.111 RouterAddressDemo[451:907] netmask--255.255.255.0

  2012-11-26 13:06:48.114 RouterAddressDemo[451:907] interface--en0

  2012-11-26 13:06:48.116 RouterAddressDemo[451:907] local device ip address----192.168.1.221

  gateway address--192.168.1.1

  2012-11-26 13:06:48.118 RouterAddressDemo[451:907] r--0

  2012-11-26 13:06:48.120 RouterAddressDemo[451:907] --starttime:1353906408,endtime:1353906408

五个字网名[www.la240.com/html2017/1/10/]

  2012-11-26 13:06:48.122 RouterAddressDemo[451:907] time cost getting above info is--0s

发表评论 共有条评论
用户名: 密码:
验证码: 匿名发表