Well, I can't do that kind of coding every day, so today was a slow day (guess the RL stuff didn't help much either). The updates:
- Reset reaskInProgress variable when it timeouts; was causing unhandled exceptions later on.
- Use configure to detect platforms local byte-swapping header, and use what's available. Fall back to generic macros only as last resort. (should speed things up somewhat on big endian platforms)
- Reset SourceInfo when receing UDP FileNotFound and it was last offered file; was causing incorrect behaviour later on.
- Clear bytes in sockaddr_in in UDPSocket::sendTo() method; should close bug #26
- Removed #ifdef'ed usage of bzero; memset is used everywhere now. (thnx Xaignar for pointing this out)
- Added accessors for NumShared and NumPartial to FilesList; added accessor for ConnCount to Scheduler.
- 10-second-interval statistics line updated to also display num-sources, queue size and connection count.
Madcat, ZzZz