@Override
	public void run() {
		
		int buffersize=size;
		double datasize=30*buffersize*1024;
		byte toSend[] = new byte[buffersize];
		byte toReceive[] = new byte[buffersize];
		
		
		
		for (int i=0; i<buffersize; i++){
			toSend[i] = (byte)2;
		}// TODO Auto-generated method stub
		DatagramPacket recivePacket;
		DatagramPacket sendPacket;
		InetAddress ipAddress;
		int port;
		for(int i=0;i<datasize;){
			recivePacket=new DatagramPacket(toReceive, buffersize);			
			try {
				socket.receive(recivePacket);				
			} catch (IOException e1) {
				// TODO Auto-generated catch block
				e1.printStackTrace();
			}
			toReceive=recivePacket.getData();
			ipAddress=recivePacket.getAddress();
			port=recivePacket.getPort();
			
			sendPacket=new DatagramPacket(toSend, buffersize,ipAddress,port);
			
			try {
				socket.send(sendPacket);
				
			} catch (IOException e) {
				// TODO Auto-generated catch block
				e.printStackTrace();
			}
			i=i+buffersize;
			
			
		}
	}