I'm not positive this will sove your problem, but you might want to try
flushing that OutputStream after you write to it:
clientsocket_out.flush();
-Rob
On Thu, 24 Sep 1998 [EMAIL PROTECTED] wrote:
>
> // THIS FAILS, HANGING SERVER AND CLIENT
> // CLIENT CANNOT
I have a problem with some socket (server) code but
don't know whether its the code, improper use of sockets,
or the java implementation for linux. The server sends
2 bytes to the client and the client reads them. Then the
client sends a byte to the server and the server reads it.
The problem is