搜索资源列表
getlocalip
- This example shows how to get the local machine s IP addresses. Yes, \"addresses,\" plural. You can count on seeing at least two addresses on most machines: one for the loopback interface (127.0.0.1) and at least one for an external network