Hello. First off, I have to say that I am sorry. I should have been more careful with my wording.
On Tue, Sep 27, 2005 at 08:38:10AM -0700, David T. Perkins wrote: > HI, > > MAX message size IS NOT LIMITLESS for streaming protocols. > > There are many reasons for this. Yes, this is very true for the protocols, but there is no effective limit on message sizes imposed on the protocol by the transport. That said I agree with you on the implicit question of good protocol design. > Likewise, max packet size IS NOT always the limit for "packet > based protocols". Yes, I agree here as well, TCP is one fine example of that. All I claim is that here the transport do impose restrictions on the protocol that the protocol might wish to work around. Obviously we could complicate the issue further by dragging in reliable packet transports and unreliable stream transports but that feels somewhat academic at this point. /MF > On Tue, 27 Sep 2005, Magnus Fromreide wrote: > > On Mon, Sep 26, 2005 at 12:02:54PM -0700, Fong Tsui wrote: > > > Here is what I found, > > > > > > msgMaxSize is set different between udp and tcp. Is it supposed to be > > > the same? > > > > No. It's not supposed to be the same. > > > > udp really means ip, using the udp packet protocol while tcp, in the same > > sense, means ip, using the tcp reliable streaming protocol. > > > > msgMaxSize is the maximum message size that can be transmitted on a given > > transport. For streaming protocols this is limitless which is what > > 0x7fffffff > > indicates, while for packet based protocols the packet size sets a definite > > upper limit. > > > > That the streaming/packet oriented aspect has been mixed up with the > > transport > > protocol aspect is probably just an accident. > > > > /MF > Regards, > /david t. perkins > ------------------------------------------------------- This SF.Net email is sponsored by: Power Architecture Resource Center: Free content, downloads, discussions, and more. http://solutions.newsforge.com/ibmarch.tmpl _______________________________________________ Net-snmp-coders mailing list [email protected] https://lists.sourceforge.net/lists/listinfo/net-snmp-coders
