mIRC Home    About    Download    Register    News    Help

Print Thread
#197974 18/04/08 12:07 AM
Joined: Apr 2008
Posts: 1
S
Mostly harmless
OP Offline
Mostly harmless
S
Joined: Apr 2008
Posts: 1
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

Last edited by Stevenmn; 18/04/08 12:09 AM.
Joined: Oct 2003
Posts: 3,918
A
Hoopy frood
Offline
Hoopy frood
A
Joined: Oct 2003
Posts: 3,918
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.


- argv[0] on EFnet #mIRC
- "Life is a pointer to an integer without a cast"

Link Copied to Clipboard