detecting the absence of optional fields at the receiver

2009-02-11 Thread ray . rizzuto
From what I have read, it seams that if I don't send an optional field, the field will have an explicit or implicit value at the receiver. However, will functions like has_ in C++ know that the received message is missing the optional field? --~--~-~--~~~---~--~~

Re: detecting the absence of optional fields at the receiver

2009-02-11 Thread Kenton Varda
Yes. That's the purpose of has_*() -- to tell you if the field was/will be sent explicitly. On Wed, Feb 11, 2009 at 3:09 PM, ray.rizz...@gmail.com wrote: From what I have read, it seams that if I don't send an optional field, the field will have an explicit or implicit value at the