I found a very nice library written in Java to create the an IRC client in Java but I can't find any information regarding the DCC download option.
I'm looking for anybody that can link me article/tips/source code on how to handle this.
Definition found on Wikipedia: DCC connections can be initiated in two different ways:
- The most common way is to use CTCP to initiate a DCC session. The CTCP is sent from one user, over the IRC network, to another user.
- Another way to initiate a DCC session is for the client to connect directly to the DCC server. Using this method, no traffic will go across the IRC network (the parties involved do not need to be connected to an IRC network in order to initiate the DCC connection).
Another nice page to explain DCC protocol: DCC Transfer ..."The DCC transfer part is different for every DCC subprotocol, but it always happens over a direct client to client TCP connection."...
Got part of an answer: The pircBot is using this kind of functionality Build-in functionnality written in JAVA to get file send over DCC.
In the JavaDoc 'receive'
public void receive(File file, boolean resume)