DCC Protocol ??

Talk about pretty much anything here, but DO NOT USE FOR SUPPORT.

Moderator: Supporters

Locked
Number
Posts: 65
Joined: Thu Mar 03, 2005 6:44 pm

DCC Protocol ??

Post by Number »

Hllo .. I'm be back !!

I woul like to have information about dcc ( the procol, the command, ...)

Because i'm working on a bot (Whit vb ..)
But i don't know anithing whit dcc ..

For example :
:Number![email protected] NOTICE VB_Bot :DCC Send aliases.ini (127.0.0.1)

For this what is the anwsr fot a DCC SEND ??

Thanks for your help !!
Stealth
Head of Support
Posts: 2086
Joined: Tue Jun 15, 2004 8:50 pm
Location: Chino Hills, CA, US
Contact:

Post by Stealth »

Use google, it would have been much faster.

I shouldn't have done it for you, but this is what Google returned:
http://www.irchelp.org/irchelp/rfc/dccspec.html
Matridom
Posts: 296
Joined: Fri Jan 07, 2005 3:28 am

Post by Matridom »

Stealth wrote:Use google, it would have been much faster.

I shouldn't have done it for you, but this is what Google returned:
http://www.irchelp.org/irchelp/rfc/dccspec.html
Feeling friendly today stealth?
Never argue with an idiot. They will bring you down to their level, then beat you with experience.
Number
Posts: 65
Joined: Thu Mar 03, 2005 6:44 pm

Post by Number »

Thanks ..
But i don't find anywhere what was the answer to a :

DCC Send File :cry:
RandomNumber
Posts: 44
Joined: Mon Jan 24, 2005 6:10 pm

Post by RandomNumber »

w00t
Posts: 1136
Joined: Thu Mar 25, 2004 3:31 am
Location: Nowra, Australia

Post by w00t »

Do some looking at the IRC protocol.

For what you're asking, look at RTC1459, which you should be looking at all along.
-ChatSpike IRC Network [http://www.chatspike.net]
-Denora Stats [http://denora.nomadirc.net]
-Omerta [http://www.barafranca.com]
aquanight
Official supporter
Posts: 862
Joined: Tue Mar 09, 2004 10:47 pm
Location: Boise, ID

Post by aquanight »

Uh. DCC (Direct Client Connection) has next to NOTHING to do with IRC with the sole exception of the CTCP that starts it off (not the notice).

Basically what happens is the initiater (person who will do the listening) sends a CTCP (PRIVMSG starting and ending with ASCII 1) DCC. The "reply" to this request does not occur on the IRC connection. The DCC ctcp includes the IP in long-integer form (see mIRC's $longip for what I mean) and a port number. To accept the connection simply connect to the specified IP and port. To reject the connection, simply do nothing.

The -nick- DCC Chat (IP) that appears is just something extra mIRC (and possibly other clients) send but from what I understand of DCC it is not required to establish a DCC session - the information required is in the DCC CTCP.
w00t
Posts: 1136
Joined: Thu Mar 25, 2004 3:31 am
Location: Nowra, Australia

Post by w00t »

Number wrote:Thanks ..
But i don't find anywhere what was the answer to a :

DCC Send File :cry:
I misinterpreted the colon, my bad :P
-ChatSpike IRC Network [http://www.chatspike.net]
-Denora Stats [http://denora.nomadirc.net]
-Omerta [http://www.barafranca.com]
Locked