android 通过socket获取IP

如题《android 通过socket获取IP》:

socket.getInetAddress().getHostAddress();
原文地址:https://www.cnblogs.com/feijian/p/4912207.html