JChat.java
334 Bytes
package pad.prac2;
import java.util.Scanner;
public class JChat
{
public static void main(String[] args)
{
String ip;
int port;
Scanner in = new Scanner(System.in);
System.out.print("IP: ");
ip = in.nextLine();
System.out.print("Port: ");
port = in.nextInt();
in.close();
Server serv = new Server(ip,port);
}
}