> The solution is quite simple: Have the Java client do a (blocking) read (of say, one 
>byte) on the socket after sending
> the header. Have the server sent a single "sync" byte to the client immediately 
>after opening the log file. And all
> works just fine.

Bear in mind that this solution has the effect of a five way handshake (you add two 
handshakes to the three TCP is using),
thus making your protocol even slower than TCP over high latency networks, and each 
connection even more expensive in terms of
time.

            Shachar



=================================================================
To unsubscribe, send mail to [EMAIL PROTECTED] with
the word "unsubscribe" in the message body, e.g., run the command
echo unsubscribe | mail [EMAIL PROTECTED]

Reply via email to