Yay! Another update to PeerCast:
Please upgrade again as soon as possible (sorry for putting out 2 versions in 2 days)
You should notice a huge improvement connecting to channels with this version. The code that decides which host to connect to recieve a channel has been considerably improved. It now chooses the easiest host to connect to, rather than the semi-random way it was done before.
It bases its choice on 3 main things:
Uptime
- The host that has had the channel longest is picked first.
Non-Firewalled then Firewalled
- Non-firewalled hosts are chosen before firewalled hosts. This should have been in from the start, but there were a few other things that needed to be fixed first.
Closest
- If after searching for non-firewalled hosts, only firewalled hosts are left it will choose the host that is closest (least amount of hops)
There are also 3 new INI file options:
pushTries
- When requesting a stream to be pushed the client will try this amount of times before giving up. Default: 5
pushTimeout
- Each push try will timeout after this amount of seconds. Default: 60
maxPushHops
- Do not try to connect to hosts that are more than this many hops away. Default: 8
Some Query/Hit bugs were also found and fixed for this version. Although searching for channels isn`t as important on peercast as it is for other P2P apps (peercast uses a different method to find channels), it meant that most searches weren`t being sent out properly at all. Which meant that if you clicked on a peercast:// link and the channel wasn`t already in the list, then it took alot longer to find the channel than it should have.




