On Nov 9, 2:36 am, balaji_ramani <[email protected]> wrote:
> I am working on developing a memcached client for binary UDP protocol. > Now after I send out a packet, I need to check whether the response > received from server is for the current request. > > Should I use opaque or request Id ? > > Whats the use of opaque ? I assume opaque will also be copied in the > response packet as such, similar to requestid. Is this correct ? Opaque is semantically important to the binary protocol where request ID is only important for the transport in UDP. The request ID is part of what you get when you attempt to reinvent TCP (since it's already got similar things within it).
