Re: get_index() - Fields in the objects returnedã By: Nightfox to Digital Man on Wed Apr 10 2019 07:50 pmãã > Hi DM,ã >ã > I was experimenting with the new MsgBase.get_index() function that was addedã > recently and printing the properties & values in the objects to see what wasã > being returned. I'm a little confused on the 'to', 'from', and 'subject'ã > fields in these objects, as those values are numbers. Are those notã > supposed to be the 'to' and 'from' names and the subject for the message?ã > For instance, this is the first one for my Dove-Net General sub-board:ã >ã > number: 31191ã > to: 17496ã > from: 50642ã > subject: 23909ã > attr: 0ã > offset: 0ã > time: 1501951866ããThe SMB index records only contains numbers. For the mail base, the 'to' andã'from' fields of an index record contain the destination and source userãnumbers, when relevant (0 when the source or destination is a network entity).ããFor sub-boards, the index record to and from fields contain a hash of the 'to'ãand 'from' user name or alias. The hash is a CRC-16 of the string's lowercaseãvalue.ããThe subject field of SMB index records always contains a hash (again, CRC-16)ãof the lowercase version of the message subject - for simple threadingãpurposes, for both mail bases and sub-boards.ããMore details can be found here, if you're interested:ã
http://synchro.net/docs/smb.htmlãã digital manããSynchronet/BBS Terminology Definition #42:ãKD = King Drafus (Allen Christiansen)ãNorco, CA WX: 56.3øF, 39.0% humidity, 0 mph SW wind, 0.00 inches rain/24hrsã---ã þ Synchronet þ Vertrauen þ Home of Synchronet þ [vert/cvs/bbs].synchro.netã