I\'m writing a java-c client-server, where the server is in C and the client is in Java. The socket is reused. I don\'t know why but the client reads the first response from