SOCK Write Queing - 29/06/04 10:34 PM
Hello
I was recently using mIRC to be a link between some software and a datapipe. Basically, I was feeding the software with data from the datapipe using the code below.
I came up with the error of the queue being full at 16384 bytes. I came up with some solutions but none of them really worked out. So I was wondering if someone could help me with a way to feed the software with the data without any errors. The datapipe is sending at roughly 500K if it helps any.
I was recently using mIRC to be a link between some software and a datapipe. Basically, I was feeding the software with data from the datapipe using the code below.
Code:
on 1:sockread:dren*:{ if ($sockerr > 0) { return } :nextread sockread &drenread if ($sockbr == 0) { return } sockwrite $sock($sockname).mark &drenread }
I came up with the error of the queue being full at 16384 bytes. I came up with some solutions but none of them really worked out. So I was wondering if someone could help me with a way to feed the software with the data without any errors. The datapipe is sending at roughly 500K if it helps any.