First working version of DCC Receive
authorManuel Nickschas <sputnick@quassel-irc.org>
Wed, 1 Jan 2014 21:54:23 +0000 (22:54 +0100)
committerManuel Nickschas <sputnick@quassel-irc.org>
Wed, 1 Jan 2014 22:15:15 +0000 (23:15 +0100)
commite3c42d072b2b8f39c8c9ea44dfc3bded87ae43b0
tree434cf4248a37eb8a31e8dba0a156c3c8f5872e4d
parent584085c95a70e921f401b387bb73e66e2d71a714
First working version of DCC Receive

This finally allows accepting a file via DCC and storing it on the client side.
Note that this is still a very basic implementation, in particular missing

  * Proper status messages (still claiming to receive unknown CTCP, for example)
  * Proper error handling
  * Proper testing
  * Any kind of configuration
  * Any kind of UI besides the simple dialog on incoming files
  * No queuing or any form of transfer management
  * Things like DCC REVERSE

However, it serves as a nice proof-of-concept for the general approach of
passing data directly to a particular client using the usual sync mechanism
(i.e. no special protocol support or additional connections needed). First
client to accept the transfer will get the file.

Note that the *core* is the one handling the DCC connection itself, so things
like port forwarding or firewall support need to be done core-side.
src/client/clienttransfer.cpp
src/client/clienttransfer.h
src/common/transfer.cpp
src/common/transfer.h
src/core/coretransfer.cpp
src/core/coretransfer.h