public void run() {
		// TODO Auto-generated method stub

		try {
			if("multi".equals(type))
           	{
				for(int i=0;i<Student.studentListAudio.size();i++)
				{
					if(!Student.studentListAudio.get(i).ip.equals(ServerFrame.currentlySpeakingip))
					{
						client_speak = new Socket(Student.studentListAudio.get(i).ip, 5570);
						DataOutputStream dos=new DataOutputStream(client_speak.getOutputStream());
						dos.writeUTF((i+1)+"");
					}
					
				}
				//if(!ServerFrame.gd.isActive())
				//	ServerFrame.currentlySpeakingip="";
           	}
			else if("single".equals(type))
			{
				
				client_speak = new Socket(ip, 5570);
				
				DataOutputStream dos=new DataOutputStream(client_speak.getOutputStream());
				dos.writeUTF(Student.studentListAudio.size()+"");
				System.out.println("//////////////////////////////////////////////////////////////");
			}
			else if("single_to_kick".equals(type))
			{
				
				client_speak = new Socket(ip, 5570);
				DataOutputStream dos=new DataOutputStream(client_speak.getOutputStream());
				dos.writeUTF("kick_you");
				System.out.println("1111111111122222222222222333333333333344444444444455555555555555");
			}
			
			
		}
		catch (Exception e) 
		{
			//e.printStackTrace();
			System.out.println("client port has been closed......kaushik may be facin");

		}
		finally {
			if (client_speak != null) {
				try {
						// close socket connection after using it
					client_speak.close();
				} catch (IOException e) {
					// TODO Auto-generated catch block
					e.printStackTrace();
				}
			}
		}

	}// End run