Initial commit

This commit is contained in:
ynn
2019-01-28 11:44:23 +01:00
commit be2e3f3350
7 changed files with 487 additions and 0 deletions

View File

@@ -0,0 +1,17 @@
package pr.tp2.udp.discovery;
public class TestDiscovery {
public static void main(String[] args) throws InterruptedException {
Runnable listener = () -> {
Discovery.handleListen();
};
new Thread(listener).start();
Discovery.handleWhois("051005022");
Discovery.handleIAM("tftp", "127.0.0.1:6969");
Thread.sleep(10000);
}
}