no, i never expect a random access tcp, but just copy tcp<->tcp tcp<->file(append)
they should blocks each other on either way

Quote:
stream -> file: slow? don't forget you're using a scripting language..

i know that smile
never expect a too fast socketing in script

Quote:
file -> stream: some have suggested before that "on SOCKWRITE" should be triggered whenever mIRC has sent some of the data, instead of all of it. That would take care of the problem here.

thanks for telling me about this. it's slow yet i can live with it.

Quote:
stream -> stream: it would be nice if mIRC used its own buffering for outgoing data, instead of relying on the fixed-size buffer that winsock provides.


nice suggestions. i can still do nothing if the source is sending me too fast and the target is write-queue-full, until my suggestion is applied.