Search Result Fomat?!

Which hub software is the best? Where can I find script XXX? Discuss it here...(no, this is not for advertising your hub...)

Moderator: Moderators

Locked
Socks
Posts: 6
Joined: 2003-03-05 16:44

Search Result Fomat?!

Post by Socks » 2003-05-18 07:46

I'm looking for what a Search Result in Active Mode looks like?!?!


$SR <Nick> <searchresponse> <ip>:<port>

The Nick being the person who has it and the IP:PORT being the values sent in the $Search.... but what is the searchresponse made of?!?!


Ne 1 who can answer will get a cookie! Its chocolate chip!!!

ButterflySoul
Posts: 210
Joined: 2003-01-23 17:24
Location: Nevada
Contact:

Post by ButterflySoul » 2003-05-18 14:26

Ok, back in december 2001, the pioneer in this domain was Suxx, and he published the very first (unless I'm wrong, but it appears to be him) protocol documentation ever made. It's on :
http://sourceforge.net/docman/display_d ... p_id=36589

Then you have the more recent documentation of David Marwood, which is quite a reference too, and you'll find it on :
http://www.lwave.ca/shasta/protocol.html

And the lastest lill jewel in this serie of protocol documentation is from Sid. You'll find more info about it here :
http://dcplusplus.sourceforge.net/forum ... php?t=2523

Do I get the cookie ? =)
[CoZ] Children of Zeus
-----
Shadows DC Hub - VBS and JS scripting at their best

Socks
Posts: 6
Joined: 2003-03-05 16:44

Post by Socks » 2003-05-18 21:39

Good Job!

*Stuffs cookie in my mouth and runs*

aDe
Forum Moderator
Posts: 138
Joined: 2003-01-07 09:14
Location: SE
Contact:

Post by aDe » 2003-05-19 05:17

search results are a little messy... here are my personal notes:

Code: Select all


Passive Result of a directory:
  $SR <username(from)> <directory\directory> <slotsavailable>/<slotstotal><Hubname> (<HubIPorDNS>)<username(to)>
Passive Result, file:
  $SR username(from) <directory\filename><bytesize> <slotsavailable>/<slotstotal><Hubname> (<HubIPorDNS>)<username(to)>

Active Result of a directory:
  $SR <username(from)> <directory\directory> <slotsavailable>/<slotstotal><Hubname> (<HubIPorDNS>)
Active Result, file:
  $SR <username(from)> <directory\filename><bytesize> <slotsavailable>/<slotstotal><Hubname> (<HubIPorDNS>)


Socks
Posts: 6
Joined: 2003-03-05 16:44

Post by Socks » 2003-05-20 19:08

Ok thanks ade! I found my problem... see I'm building a multi-hub search program for our network and when search engines encountered it, they were recieving blank results.

GloSearch seemed to get around 4 or 5 blank spaces and the result, this being cause it wasn't handling the / instead of \ correctly... so I changed it to \ and it works perfect... thanks for all your help yaw! :twisted:

Locked