You are viewing a plain text version of this content. The canonical link for it is here.
Posted to derby-dev@db.apache.org by Kristian Waagan <Kr...@Sun.COM> on 2006/04/20 18:37:06 UTC
Request-reply protocol for the network server - always?
Hello,
The protocol between the Derby network client and the server is
request-reply. Is it so that *every* client request (data passing over
the wire) results in a server reply?
What I'd like to know, is if it can happen that the server receives a
request from the client, then does something, but does not send a reply
back.
It's a bit hard to tell quickly when you don't know the DRDA code (or
the spec), since it is pretty big. For instance, I see the following
check in DDMWriter.finalizeChain:
resetChainState();
if (offset != 0) {
try {
flush(socketOutputStream);
catch (...) {...}
}
Can 'offset' ever by 0 when finalizeChain is called and the server
actually believes it has data to send?
--
Kristian