User input url(e.g:www.mywebsite.com) in mobile,but I need append IP address in TInet Addr.

how to do this?

help me!