Link to home
Start Free TrialLog in
Avatar of hank1
hank1

asked on

readLine() and DataInputStream vs BufferedReader

I'm reading "Java Network Programming" by Hughes, Schoffner and Winslow (good book).
The book was written 1.0 - not a mention about readLine() deprecation.
Question is do I simply use BufferedReader.readLine() wherever I see
DataInputStream.readLine()?  Is this a no brainer or is there something
to watch out for in network communications that makes this a "maybe"?

Thanks
Thanks
ASKER CERTIFIED SOLUTION
Avatar of sailwind
sailwind

Link to home
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
Start Free Trial
Avatar of hank1
hank1

ASKER

Thanks