lol
This commit is contained in:
commit
613bef2496
108 changed files with 8397 additions and 0 deletions
20
src/zutil/test/NetworkServerTest.java
Normal file
20
src/zutil/test/NetworkServerTest.java
Normal file
|
|
@ -0,0 +1,20 @@
|
|||
package zutil.test;
|
||||
|
||||
import java.io.IOException;
|
||||
import java.security.NoSuchAlgorithmException;
|
||||
|
||||
import zutil.Encrypter;
|
||||
import zutil.network.nio.NioServer;
|
||||
|
||||
|
||||
@SuppressWarnings("unused")
|
||||
public class NetworkServerTest {
|
||||
public static void main(String[] args) throws NoSuchAlgorithmException {
|
||||
try {
|
||||
NioServer server = new NioServer(6056);
|
||||
//server.setEncrypter(new Encrypter("lol", Encrypter.PASSPHRASE_DES_ALGO));
|
||||
} catch (IOException e) {
|
||||
e.printStackTrace();
|
||||
}
|
||||
}
|
||||
}
|
||||
Loading…
Add table
Add a link
Reference in a new issue