Official eMule-Board: Questions About Kad's File Publishing - Official eMule-Board

Jump to content


Page 1 of 1

Questions About Kad's File Publishing

#1 User is offline   hyper123 

  • Newbie
  • Pip
  • Group: Members
  • Posts: 6
  • Joined: 30-March 07

Post icon  Posted 23 June 2007 - 11:28 AM

recently I want to study the Kad's file publishing process in the emule source code,but I don't know the entrance of the publishing,could anybody tell me that in the emule source code where does the publishing start. :confused:
0

#2 User is offline   Indingi 

  • Mr. Snotty
  • PipPipPipPipPipPip
  • Group: Members
  • Posts: 447
  • Joined: 09-February 03

Posted 23 June 2007 - 06:39 PM

Take a look at CSharedFileList::Publish() in SharedFileList.cpp.
For New Users:

1. Read the eMule manual and the Forum Rules.
2. Then Read This Before Starting A New Thread!
3. Then check the Quick help & guides forum.
4. Search the forum for your problem.

before opening your own posts.
0

#3 User is offline   pier4r 

  • Ex falso quodlibet ; Kad is the major concept behind emule.
  • PipPipPipPipPipPipPip
  • Group: Members
  • Posts: 588
  • Joined: 31-March 09

Posted 17 May 2011 - 04:43 PM

(note: ah! One of the (few) cases that "search first ask later" worked! note: search by google not internal forum search)

in CSharedFileList::Publish()

there is a block about STOREFILE kad action.

The file hash that will be published is based on:
CKnownFile* pCurKnownFile = GetFileByIndex(m_currFileSrc);

and this operation is not related to STOREKEYWORD or others kad action in the same function. (In other words: the keyword that is used by STOREKEYWORD action is not computed on the pCurKnowFile name)
Am i right?

Thanks for the replies.
>>>Feature Request (ICS) or SOTN, EmuleCollectionV2 >>> Emule on old hardware (intel pentium 2 or 3 - via c3 - and so on) with good OS settings and enough ram (256+ mb): great >>>user of: eMule - Xtreme - ZZUL bastard - SharX - SharkX 1.8b5 pierQR - ZZUL-Tra - ZZUL-Tra-TL - kMule - Beba

Extended signature: click.
0

#4 User is offline   pier4r 

  • Ex falso quodlibet ; Kad is the major concept behind emule.
  • PipPipPipPipPipPipPip
  • Group: Members
  • Posts: 588
  • Joined: 31-March 09

Posted 21 May 2011 - 08:58 AM

View Postpier4r, on 17 May 2011 - 06:43 PM, said:

(note: ah! One of the (few) cases that "search first ask later" worked! note: search by google not internal forum search)

in CSharedFileList::Publish()

there is a block about STOREFILE kad action.

The file hash that will be published is based on:
CKnownFile* pCurKnownFile = GetFileByIndex(m_currFileSrc);

and this operation is not related to STOREKEYWORD or others kad action in the same function. (In other words: the keyword that is used by STOREKEYWORD action is not computed on the pCurKnowFile name)
Am i right?

Thanks for the replies.


I needs only a "Yes"|"No" reply!
I know that i should know all the emule code by myself to find answers but, can i beg for a little reply?

Thanks!
>>>Feature Request (ICS) or SOTN, EmuleCollectionV2 >>> Emule on old hardware (intel pentium 2 or 3 - via c3 - and so on) with good OS settings and enough ram (256+ mb): great >>>user of: eMule - Xtreme - ZZUL bastard - SharX - SharkX 1.8b5 pierQR - ZZUL-Tra - ZZUL-Tra-TL - kMule - Beba

Extended signature: click.
0

#5 User is offline   pier4r 

  • Ex falso quodlibet ; Kad is the major concept behind emule.
  • PipPipPipPipPipPipPip
  • Group: Members
  • Posts: 588
  • Joined: 31-March 09

Posted 28 May 2011 - 07:48 AM

On a longer view, CSharedFileList::Publish() manage to publish on Kad our keywords, our file hash and other. (I'm interested in file hash)

(did i explained myself better now?)

edit: Yes, i'm quite sure, i must play with this.

thanks also to "CSharedFilesCtrl::IsSharedInKad"

This post has been edited by pier4r: 28 May 2011 - 07:51 AM

>>>Feature Request (ICS) or SOTN, EmuleCollectionV2 >>> Emule on old hardware (intel pentium 2 or 3 - via c3 - and so on) with good OS settings and enough ram (256+ mb): great >>>user of: eMule - Xtreme - ZZUL bastard - SharX - SharkX 1.8b5 pierQR - ZZUL-Tra - ZZUL-Tra-TL - kMule - Beba

Extended signature: click.
0

  • Member Options

Page 1 of 1

1 User(s) are reading this topic
0 members, 1 guests, 0 anonymous users