IRC Client + DCC P2P File Transfer
I'm running WeIRCd server locally and I have made an commandline windows IRC Client under C.
But now I want to expand it so I can send files to clients directly via DCC in P2P manner.
But I don't know the right way of starting this.
On every client should I constantly have socket listening if someone wants to send a file?
And how do I implement the P2P part, I'm hopelessy lost?
I found some interesting links but don't supply practical information that I am looking for.