public void run() {
			if (args[0] != null) {
				if ((args[1] != null) && (args[2] != null)) {

					if (Integer.parseInt(args[0]) == 0) {
						try {
//							System.out.println("Server  args[0]=" + args[0]
//									+ "   args[1]=" + args[1] + "   args[2]="
//									+ args[2]);
							
							
							TorpedoServer server = new TorpedoServer(
									Integer.parseInt(args[2]), 10);
							
							server.start();
							
							
							
							
						} catch (IOException e) {
							// TODO Auto-generated catch block
							e.printStackTrace();
							System.out.println("Valami error 1");
						}
					}

					if (Integer.parseInt(args[0]) == 1) {
						try {
//							System.out.println("Client   args[0]=" + args[0]
//									+ "   args[1]=" + args[1] + "   args[2]="
//									+ args[2]);
							
							
							
							TorpedoClient client = new TorpedoClient(args[1],
									Integer.parseInt(args[2]));
							
							client.start();
							
							
							
							
						} catch (IOException e) {
							// TODO Auto-generated catch block
							e.printStackTrace();
							System.out.println("Valami error 2");
						}
					}

				} else {
					System.out
							.println("I did not get ip address or port parameter!");
				}
			} else {
				System.out.println("I did not get server/client parameter!");
			}
		}