End of hop path
Posted: April 12, 2005, 6:23 pm
Am I right in saying that when a message reaches the end of a hop path when downloading, the hop path will be empty?
Or that when a search result is returned, the first peer that deals with the search result will see an empty hop path?
If that is so, then that can make parsing a pain in the ass. It's easier if we can split the message by new line and get the right fields in the right array indexes, but that method won't work if we have an empty hop path.
So then, can we make it so the end of the hop path is marked by a special something or other. It could be a -1, or a ¥, or even a space, just so long as the hop path field isn't an empty string.
Or that when a search result is returned, the first peer that deals with the search result will see an empty hop path?
If that is so, then that can make parsing a pain in the ass. It's easier if we can split the message by new line and get the right fields in the right array indexes, but that method won't work if we have an empty hop path.
So then, can we make it so the end of the hop path is marked by a special something or other. It could be a -1, or a ¥, or even a space, just so long as the hop path field isn't an empty string.