- Connection through ip address
- System.out.println("get = "+get); //get is where the ip address is stored after reading from file and it is successfully received as well
- Socket client=new Socket(get,5000);
- InetAddress ik= InetAddress.getByName(get);
- Socket client=new Socket(ik,5000);
- String get="192.168.1.224";
- System.out.println("get = "+get.trim());
- Socket client=new Socket(get,5000);