Back to project page twawm2.
The source code is released under:
Copyright (c) 2014, afnf All rights reserved. Redistribution and use in source and binary forms, with or without modification, are permitted provided that the following conditions are met: * Redistr...
If you think the Android project twawm2 listed in this page is inappropriate, such as containing malicious code/tools or violating the copyright, please email info at java2s dot com, thanks.
package com.appspot.afnf4199ga.twawm.router; //from w ww . j av a2 s .c o m import java.net.InetAddress; public class InetLookupWrappter { public InetAddress getByName(String hostname) { try { //Logger.i("InetLookupProxy.getByName " + hostname); return InetAddress.getByName(hostname); } catch (Throwable e) { return null; } } }