mIRC Homepage
Posted By: Stevenmn How to send text faster ?? - 18/04/08 12:07 AM
Hi

IM programming an irc client in c++ using winsock.....

im using "send function" to send text

the problem is that i need to send a large degree(amount) of text
is aobut 20 lines or more.....

but it is very slow

because i have a text file so i load the text file and i read it so after i read it i send what i read to the irc.....


i have tried sending line per line without getting results

so i tried to read siex lines (of the text) and send them, but the first six it sends fast but no the rest of lines.....



and i tested sending a large degree of text with mirc and it sends really faster..



so i want to know how does mirc do

or if you can give me another solution i ll be really grateful


Thanks
Posted By: argv0 Re: How to send text faster ?? - 18/04/08 12:21 AM
mirc's /play command uses a timer to play each command at an interval

you should not expect to be able to send 20 lines "fast".. IRC servers will throttle your speed and some may even disconnect you for flooding.

You should expect to send 20 lines in about 10-15 seconds at least. That would be considered a "fast" rate for IRC.
© mIRC Discussion Forums