Blame view

JChatServer/src/pad/prac2/JChat.java 334 Bytes
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
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);
	}
}