Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- int ipAdress = 32589;
- StringBuilder sb = new StringBuilder();
- sb.append(ipAdress & 0xFF).append(".").append((ipAdress >> 8) & 0xFF).append(".")
- .append((ipAdress >> 16) & 0xFF).append(".").append((ipAdress >> 24) & 0xFF);
- System.out.println(sb.toString());
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement