mirror of
https://github.com/guilhermewerner/redes
synced 2025-06-15 22:45:49 +00:00
Update ports
This commit is contained in:
@ -14,8 +14,8 @@ import java.net.Socket;
|
||||
|
||||
public class ClientApp extends JFrame {
|
||||
private static final String SERVER_IP = "localhost";
|
||||
private static final int SERVER_TCP_PORT = 1234;
|
||||
private static final int SERVER_UDP_PORT = 5678;
|
||||
private static final int SERVER_TCP_PORT = 5475;
|
||||
private static final int SERVER_UDP_PORT = 5565;
|
||||
|
||||
private JTextArea chatArea;
|
||||
private JTextField messageField;
|
||||
|
@ -13,8 +13,8 @@ import java.util.ArrayList;
|
||||
import java.util.List;
|
||||
|
||||
public class ServerApp {
|
||||
private static final int TCP_PORT = 1234;
|
||||
private static final int UDP_PORT = 5678;
|
||||
private static final int TCP_PORT = 5475;
|
||||
private static final int UDP_PORT = 5565;
|
||||
private List<ClientHandler> clients;
|
||||
|
||||
public ServerApp() {
|
||||
|
Reference in New Issue
Block a user