IRC DCC Send

I am trying to send a file from a client (C++) program on my IRC network. I have tried sending the following from the program to nick Matthew:

/dcc send Matthew c:/hello.bmp\r\n
/ctcp Matthew DCC SEND c:/test.rtf\r\n

Main code here:

1
2
3
4
5
char searchstring11[] = "DCC SEND"; 
if (charSearch(buf,searchstring11) == true) { 
                            char DCC[] = "/DCC send Matthew c://hello.bmp\r\n";                             
if (sendData(s,DCC) == true)   {            
}}


I have tried many other ways but to no avail.

Any help is extremely welcome!

Many Thanks,

Matthew.
Last edited on
Topic archived. No new replies allowed.