WEB开发网      婵傜晫鐝總钘夊瀻娴滎偓绱掓担鐘垫畱娑撯偓娴犺棄鍨庢禍顐fЦ閹存垳婊戦惃鍕娴犺棄濮╅崝娑崇幢鐠囧嘲鍨庢禍锟� ---閿曪拷
开发学院手机开发iPhone 开发 IOS获取自身网络IP信息的方法 阅读

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

 2012-11-26 13:57:53 来源:WEB开发网 閵嗭拷閸戝繐鐨€涙ぞ缍�婢х偛銇囩€涙ぞ缍�閵嗭拷  閸忚櫕鏁為弶銊︿航妞嬬偟娈戝顔煎触
核心提示: 2012-11-26 13:06:48.102 RouterAddressDemo[451:907] broadcast address--192.168.1.2552012-11-26 13:06:48.108 RouterAddressDemo[451:907] local device ip--192.168.

 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
2012-11-26 13:06:48.122 RouterAddressDemo[451:907] time cost getting above info is--0s

Tags:IOS 获取 自身

编辑录入:爽爽 [复制链接] [打 印]
赞助商链接