C
cold80
I'm starting to develop a Java application using sockets and IO
objects. I developed, for example, a sample Echo Server application
that read the input from a socket using a BufferedReader object and
write in the socket the same text using a BufferedWriter. But when I
read a string from BufferedReader using readLine() method, I receive a
string that starts with some strange characters. So I can't write this
string with a simple println(), and I don't know how I can do this. I
think these strange chars are some kind of format that java need to use
these objects, really I don't know...Could you help me please?
Many thanks
Sebastiano
objects. I developed, for example, a sample Echo Server application
that read the input from a socket using a BufferedReader object and
write in the socket the same text using a BufferedWriter. But when I
read a string from BufferedReader using readLine() method, I receive a
string that starts with some strange characters. So I can't write this
string with a simple println(), and I don't know how I can do this. I
think these strange chars are some kind of format that java need to use
these objects, really I don't know...Could you help me please?
Many thanks
Sebastiano