hal/src/zutil/test/ServerFindClientTest.java

17 lines
360 B
Java
Raw Normal View History

2008-11-14 16:38:36 +00:00
package zutil.test;
import java.io.IOException;
2011-02-15 19:37:04 +00:00
import zutil.net.ServerFindClient;
2008-11-14 16:38:36 +00:00
public class ServerFindClientTest {
public static void main(String[] args){
try {
ServerFindClient client = new ServerFindClient(2000);
System.out.println(client.find().getHostAddress());
} catch (IOException e) {
e.printStackTrace();
}
}
}