When I use the following I get a warning that readLine is deprecated...
What should I use instead..?Code:in = socket.getInputStream(); DataInputStream din = new DataInputStream(in); String serverStatus = din.readLine();
I tried BufferedReader but was told that "The constructor BufferedReader(InputStream) is undefined"
Thanks


Reply With Quote


Bookmarks