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:
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)
DCC is a part of the CTCP section, the IRC RFC only seems to define the handshake part but not the actual mechanics of transmission. I imagine its just a socket though.
http://www.irchelp.org/irchelp/rfc/dccspec.html
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With