mte01
asked on
Problem in reading from Input Stream
Hey experts,
I have a client program in java that is communicating with a server program that is also in java using sockets, the client is writing using: os.write where os is of type OutputStream, and the server is reading the sent string using: datain.readLine() where datain is of type BufferedReader. The connection is being successfull, and the client is successfully sending the string, but the server is never receiving it, it is remaining stuck on the datain.readLine() statement.....any help on solving the problem??
I have a client program in java that is communicating with a server program that is also in java using sockets, the client is writing using: os.write where os is of type OutputStream, and the server is reading the sent string using: datain.readLine() where datain is of type BufferedReader. The connection is being successfull, and the client is successfully sending the string, but the server is never receiving it, it is remaining stuck on the datain.readLine() statement.....any help on solving the problem??
ASKER CERTIFIED SOLUTION
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
Your welcome. :-)
ASKER