# The DCC module

Direct Client Connections

## Overview

The DCC module handles the Direct Client Connection protocol layer and all it's sub-protocols.
The sub-protocols include the standard CHAT the standard SEND and its variants plus several KVIrc extensions like RECV,RSEND,GET and VOICE.

## Initiating a DCC negotiation

The following commands initiate a specific DCC session with a remote client:
dcc.chat
dcc.send
dcc.rsend
dcc.recv
dcc.get
dcc.voice

## Handling the DCC events

Each DCC session has an associated unique identifier (<dcc_id>).
You can interact with the session by using several commands and functions exported by this module and by passing the above session id as parameter.
The session related commands and functions are the following:
$dcc.protocol()
$dcc.connectionType()
$dcc.isFileTransfer()
$dcc.isFileUpload()
$dcc.isFileDownload()
$dcc.localNick()
$dcc.localUser()
$dcc.localHost()
$dcc.localIp()
$dcc.localPort()
$dcc.localFileName()
$dcc.localFileSize()
$dcc.remoteNick()
$dcc.remoteUser()
$dcc.remoteHost()
$dcc.remoteIp()
$dcc.remotePort()
$dcc.remoteFileName()
$dcc.remoteFileSize()
$dcc.ircContext()
$dcc.session()

Index, Modules

KVIrc 3.2.0 Documentation
Generated by root at Thu Mar 9 08:43:54 2006