basic client/server structure

This commit is contained in:
2025-02-27 12:52:12 +01:00
parent 2917535e05
commit fed666200c
9 changed files with 381 additions and 5 deletions

15
ChatApp/src/ChatApp.java Normal file
View 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) {
}
}
}