new messaging system

Andrew Tridgell tridge at linuxcare.com
Wed Sep 13 23:59:20 GMT 2000


Ron,

> FWIW, having created several messaging systems over the years, me and my
> partner in crime came to the understanding that the following general
> structure was ideal.
> 
> Length	(either inclusive or non-inclusive)
> MsgType
> other data

well, I didn't choose this layout as I wanted the ability to change
the protocol while maintaining backward compatibility. For that reason
I put a protocol version number first in the structure.

See source/lib/messages.c for the implementation.

Cheers, Tridge




More information about the samba-technical mailing list