| TIP: Click on subject to list as thread! | ANSI |
| echo: | |
|---|---|
| to: | |
| from: | |
| date: | |
| subject: | Translate Filename to FidoNet |
[ On 2008-09-11 at 20:28:00, Phillip Taylor wrote to All ]
PT> All the docs out there is written in c and I am trying to figure out
PT> how to translate the filename that is used to translate the outgoing
PT> mail bundle to fidonet node number?
It can vary depending on the mailer. It could be a pseudorandom sequence
number, but if it's always the same for a given node it's most likely it's
hex(OrigNet - DestNet) + hex(OrigNode - DestNode). Two's complement for
negatives.
eg. 633/260 -> 712/848 = ffb1fdb4
633 - 712 = -79
-79 & 0xFFFF = 65457
= FFB1
260 - 848 = -588
-588 & 0xFFFF = 64948
= FDB4
Packets are usually given the current timestamp (in hex), except when used
as control files (eg. Binkley) in which case it's hex(DestNet) +
hex(DestNode).
It's probably not a good idea to try to decode bundle names - read the
control files instead.
-- Scott Little [fidonet#3:712/848 / sysgod{at}sysgod.org]
--- Been there, done that, got the T-shirt.
* Origin: [sysgod.org] Hail to the king, baby! (3:712/848)SEEN-BY: 633/260 267 640/954 712/0 104 313 848 @PATH: 712/848 633/267 |
|
| SOURCE: echomail via fidonet.ozzmosis.com | |
Email questions or comments to sysop@ipingthereforeiam.com
All parts of this website painstakingly hand-crafted in the U.S.A.!
IPTIA BBS/MUD/Terminal/Game Server List, © 2025 IPTIA Consulting™.