I solved the problem with an out.reset(); in the server, after the object in (ObjectOutputStream) out was sent through the socket. I found an explanation for the problem here[<- link]. Anyway, thanks...
Type: Posts; User: Alexandrinne
I solved the problem with an out.reset(); in the server, after the object in (ObjectOutputStream) out was sent through the socket. I found an explanation for the problem here[<- link]. Anyway, thanks...
Unfortunately it's not the case. I've tried to send an array, randomly generated and the same thing happens, but when I send a String it's working fine.
Hello!
My code is misbehaving and I can't see where the fault is, but I'm almost sure that it's a beginner's mistake. I'm sending objects through a socket in a while loop. The object has 4 fields:...