CL_DCCDownload - ClanLib Game SDK

Home | All Classes | Grouped Classes | Index | Search

# Class CL_DCCDownload

IRC DCC download session object. More...

Derived from: none
Derived by: none
Group: Network (Internet Relay Chat)

#include <ClanLib/network.h>

Construction:

CL_DCCDownload | Constructs a new DCC download session.

Attributes:

get_bytes_transfered | Returns the number of bytes transfered so far.
get_total_size | Returns the total size of file.
get_status | Returns the current status of the download.
sig_connection_lost | sig_connection_lost(error_message)
sig_download_complete | sig_download_complete()

Operations:

operator = | Copy assignment operator.
reconnect | Attemp to reconnect and resume download.

Detailed description:

!group=Network/Internet Relay Chat! !header=network.h!

This class connects to an IRC client listening for an incoming DCC connection and then downloads the file offered. Should be used in response to a DCC SEND CTCP command.

Questions or comments, write to the ClanLib mailing list.