hal/src/zutil/test/ServerFindClientTest.java

17 lines
364 B
Java
Raw Normal View History

2008-11-14 16:38:36 +00:00
package zutil.test;
import java.io.IOException;
import zutil.network.ServerFindClient;
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();
}
}
}