title: How do you validate an IP address on Android?
body: <p>I am using simple socket communication between Android (as the client) and PC (as the server). I am having the user input the IP address into an <code>EditText</code> field and I want to validate the IP address. How do you validate an IP address on Android?</p>