All Classes |Grouped Classes |Index

Class CL_DCCDownload

IRC DCC download session object. More...

Derived from:

None

Derived by:

None

Group:

Internet Relay Chat (Network)

#include <ClanLib/network.h>

Class Members:

Attributes:

DCCStatus

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()


Construction:

CL_DCCDownload

Constructs a new DCC download session.


Operations:

reconnect

Attemp to reconnect and resume download.

Detailed description:

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.