Hub connect to hublist Hublist sends: $Lock | Hub answer on the $Lock and send: $Key ?/%DCN005%/0??U|||||| Then hublist connection closes and registration done.
its more like: hublist sends: $Lock EXTENDEDPROTOCOLABCABC PK=hublistservername hubsoft sends: $Key (formula on lock) hubname|hubaddres|hubdiscription|usercount|sharesize|
the lock shouldnt be EXTENDEDPRPTOOCLABCABC n all.. it can be anything u want...
As long as ur XorWith value is same as the other person..
U make a key using the Lock and XorWith value... if the XorWith value is different at both sides then u cant have the same key..
I found out that every hub uses the peer port which si mostly like 3535 and up.. (which changes often..)
So the XorWith value will be as follows:
XorWith := (port + (port shr 8));
My TamilHub List Server works good with every hub :)
And for my TamilHub Server i use 5 as value for XorWith cozz it seems the DC clients uses 5... but i prefer they uuse the peerport too which is easy and can be a standard :)
What else to say.. XML seems ot be a good idea but updating it will be shit if u dont have good control of the XML..
I'll See wher ei can upload ma HubList Server.. ahev to talk to neisep buddy hehe :D