sock.setSoLinger(false, -1);
sock.setSoTimeout(1000);
sock.setTcpNoDelay(true);
sock.getOutputStream().write("isro".getBytes());
sock.getOutputStream().flush();
sock.shutdownOutput();
BufferedReader br = new BufferedReader(
new InputStreamReader(sock.getInputStream()));
result = br.readLine();
sock.close();
br.close();