basic client/server structure
This commit is contained in:
15
ChatApp/src/ChatApp.java
Normal file
15
ChatApp/src/ChatApp.java
Normal file
@@ -0,0 +1,15 @@
|
||||
import java.net.InetSocketAddress;
|
||||
|
||||
import client.Client;
|
||||
import server.Server;
|
||||
|
||||
public class ChatApp {
|
||||
public static void main(String[] args) throws Exception {
|
||||
Server server = new Server(6665);
|
||||
Client client = new Client(new InetSocketAddress("localhost", 6665));
|
||||
|
||||
while (true) {
|
||||
|
||||
}
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user