[Csci551-talk] raw message in hex
Narendra Acharya
nsachary at usc.edu
Mon Mar 21 23:57:23 PST 2005
Currently I am using structures which have character arrays as elements to
store the different messages to be passed. For example I am storing the
msgtype in one character array and client node_id in another and so on and
then packing these character arrays in to a structure. Is this the correct
way to implement messages or do I have to use data definition types like
__u16, __u32... & then pack them into a structure and if we have to use
__u16, __u32 how do we define the filename in the group show interest
message?
Also I am not clear how to display and retrieve raw messages in hex?
More information about the Csci551-talk
mailing list