[Top] / [eMule] / [cleanup] / [0.29c]

MetMedic
eMule cleanup
eMule Light
Libraries
Cleanup
0.29a
0.29b
0.29c
0.30a

cleanup.0
cleanup.1
cleanup.2
cleanup.3
cleanup.4
cleanup.5
cleanup.6
cleanup.7
cleanup.8
cleanup.9


Cleanup patch 9 - multiple issues

[Patch date 2003-07-26 04:30]

Added and fixed code comments.

Separated Proxy preferences to new class, CPreferencesProxy.

Added appropriate #ifdefs for NOLAYERS (from AsyncSocketEx socket system), as well as three new build configurations - NOLAYERS version of each of the existing ones. This in effect removes proxy functionality without removing the user interface or anything else. And I added it because it's consistent with use of NOLAYERS in AsyncSocketEx subsystem.

Added support for reading ET_MOD_VERSION (0x55) opcode. It's stored in CUpDownClient as private CString m_strModVersion, accessible via public const CString GetModVersion() const, but nothing more is done about it.

In CServerSocket::ProcessPacket(), the primary switch() statement that handles opcodes contains the statement theApp.downloadqueue->AddDownDataOverheadServer(size); in each case, excepting OP_CALLBACK_FAIL and default. As in all cases the overhead is already in the past, and nothing we do will change the fact, I moved that statement to just before the switch and removed it from individual cases.

Downloads:
Full Source