public void run(){
			if (udpClient == null){
				switch(client.getLocalPort()){
					case 8080: 
						tcpUpload();
						break;
					case 8000:
						tcpDownload();
						break;
					case 3962:
						httpHandler();
						break;
				}
			}
			else{
				switch(udpClient.getLocalPort()){
					case 6001:
						udpUpload();
						break;
					case 9999:
						udpDownload();
						break;
				}
	
			}
	
	}