public static void main(String[] args){
		_port = initParser(args);
		try {
			try {
				_server = new ServerTCP(_port);
				
			} catch (SocketException e) {
				System.err.println(Errors.SOCKET_PROBLEM);
				System.exit(-1);
				
			} catch (IOException e) {
				System.err.println(Errors.IO_PROBLEM);
				System.exit(-1);
			}
			while(true){
				try {
					_server.waitConnection();
				} catch (IOException e) {
					System.err.println(Errors.WAITING_PROBLEM);
					System.exit(-1);
				}
				try {
					Thread t = new Thread(new Server());
					t.start();
				} catch (NullPointerException e) {
					System.err.println(Errors.NO_CLIENT_SOCKET);
					System.exit(-1);
				}
			}
		} catch(Exception e){
			System.err.println(Errors.UNKNOWN_ERROR);
			System.exit(-1);
		}
	}