InetAddress getLocalHost( )  Return InetAddress ของเครื่องที่ใช้อยู่  InetAddress me = InetAddress.getLocalHost( ); import java.net.*; public class showipLocal { public static void main (String[] args) { try { InetAddress address = InetAddress.getLocalHost( ); System.out.println(address); } catch (UnknownHostException ex) { System.out.println( Could not find this computer s address. ); }
{"Image DocumentName": "The InetAddress Class", "Image ImageDescription": "The InetAddress Class", "Image XResolution": "37", "Image YResolution": "37", "Image ResolutionUnit": "Pixels/Centimeter", "Image Software": "SlidePlayer", "Image YCbCrPositioning": "Centered"}