Author Topic: Blocking downloads by nick  (Read 2245 times)

0 Members and 1 Guest are viewing this topic.

Offline satya

  • Fulll Member
  • ****
  • Posts: 64
  • Karma: +3/-5
Blocking downloads by nick
« on: 20 July, 2008, 14:18:25 »
Hey American Idiot rem this??

Direct Connect Protocol does not rule for or against anyone.
It simply is what it is. A brief study of same will show that
these request are possible or not.
Code: [Select]
  Download Example:
  
   Client <-> Client Communication in DC. 11-05-2002. By aDe
   ----------------------------------------------------------
   ACTIVE FILE DOWNLOAD
   ----------------------
   D = downloader
   U = uploader
   H = hub
   D>H: $ConnectToMe <U's username> <D's IP and port>|
   H>U: $ConnectToMe <U's username> <D's IP and port>|
   U>D: Connection
   U>D: $MyNick <U's nick>|$Lock <new lock with pk>|
   D>U: $MyNick <D's nick>|$Lock <new lock with pk>|$Direction Download <anumber>|$Key <key for U's lock>|
   U>D: $Key <key for D's lock>|
   D>U: $Get <filepath + filename in exact case>$<start at byte (1=beginning of file)>|
   U>D: $FileLength <length of the requested file>|
   D>U: $Send|
   U>D: Data, in many chunks.
   D>U: $Send|
You see, the hub only hands the request to the client.
The hub takes no part in the transfer after that.
It does not know anything about the 'would be' transfer.
This is why it's called Direct Connect.


So last time u told me dat a HUB just connect one client to another, so we can prevent a client from gettin connect to

suppose i want to block a nick from dldin or searchin
wen a request for connection comes in the hub wud check for the nick if its the blocked it wont connect


this is wat i want to do

can u help me with this.

thanks a lot
Satz
« Last Edit: 20 July, 2008, 14:45:20 by bastya_elvtars »

Eyes says everything,
Its on you how u read em...

PtokaX forum

Blocking downloads by nick
« on: 20 July, 2008, 14:18:25 »

Offline bastya_elvtars

  • Forum God
  • ****
  • Posts: 3 730
  • Karma: +173/-7
  • The rock n' roll doctor
    • The FreshStuff3 Site
Re: Blocking downloads by nick
« Reply #1 on: 20 July, 2008, 14:46:23 »
This belongs to where I have moved it. Also I have given the topic an informative title. Please create topics in the right places with informative titles in the future. Thank you.
Everything could have been anything else and it would have just as much meaning.

PtokaX forum

Re: Blocking downloads by nick
« Reply #1 on: 20 July, 2008, 14:46:23 »