2016-06-07 3 views

답변

1

InetAddress는 당신을 위해 작업을 수행 할 수 있습니다

String ip = InetAddress.getByName("stackoverflow.com").getHostAddress(); 
// result e.g: "151.101.129.69" 

이 또한 배경 스레드에서 수행 될 필요가있다.

관련 문제