Hi,
This is very minor in all, but I would love some clarifications as I
obviously don't understand this as clearly as I should looks like.
An example is in the commit Rev 1.5 of extern.h for tftp.
I see this commit from Theo
"TIMEOUT* values are not part of the protocol. tftp.h is a namespace
export of the protocol. you shall not add non-protocol stuff to such a
file, period."
But the RFC 2349 page 2 extend the TFTP RCF 1350 with this:
timeout
The Timeout Interval option, "timeout" (case in-sensitive).
This is a NULL-terminated field.
#secs
The number of seconds to wait before retransmitting, specified
in ASCII. Valid values range between "1" and "255" seconds,
inclusive. This is a NULL-terminated field.
So, the timeout value from 1 to 255 are valid and could have been
defined into tftp.h for example couldn't it have been?
It's not a complain, but I really would love to understand the logic as
to what goes or should go into YourGismo.h and YourGismod.h for
YourGismo application?
For what I understand, the YourGismo.h would have definition of the
protocol and what's defined in the RFC as YourGismod.h would have
definitions use by your application design, but that may or may not be
define in the RFC. Am I wrong?
Sorry if that's totally obvious, I thought I got it before and I really
don't get it here and I would love for someone to provide me
clarifications so that I do understand it properly. Clearly there is
something missing in what I assumed before.
May be it could be that I do not understand the real English meaning of
the "namespace export of the protocol", but I took it to mean any
variable that could be define as to help read the code that are included
in RFC as well as any extension of them should they apply. It's it the
case here?
I obviously would put it in there, but looks like I would be wrong and I
would really love to understand it properly.
Please be generous on your comments if any so that it could be very
clear to understand.
May be an example(s) might be best if you can think of any. It might
help me get it.
Many thanks for your time.
Daniel