Done, I changed the sentence: (*PrintWriter*(OutputStream <*1> out, boolean 
autoFlush))   autoflush : from true to false, like this:

PrintWriter(echoSocket.getOutputStream(), false); and it worked.


El domingo, 26 de junio de 2016, 3:32:31 (UTC-6), jeffreehy escribió:
>
> He all.
>
> I'm trying to work with a C++ socket server. located at this public 
> addreess: 63.245.8.247 port 84. Generally I use an standar a Java socket 
> client , code attached.
> but I'm getting java.net.SocketException: Connection reset when I try to 
> read from the server.
> Anybody can help me.
>
> Thank you in advance.
>

-- 
You received this message because you are subscribed to the Google Groups 
"JPassion.com: Java Programming" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
Visit this group at https://groups.google.com/group/jpassion_java.
For more options, visit https://groups.google.com/d/optout.

Reply via email to