EOF encountered on read.

Posted by Lerkista on Thu 25 Sep 2014 08:57 AM — 2 posts, 12,775 views.

#0
Hi

I have a little problem, when i tried to paste a long info, for example when writing a note in a board, if i copy more than aprox 15 lines of text i get this error, the error is in comm.c in the function read_from_descriptor

In here:

nRead = recv( d->descriptor, d->inbuf + iStart, sizeof( d->inbuf ) - 10 - iStart, 0 );

When pasting a large text nRead is 0

Any way to avoid that?? or i have to paste it in many blocks of < 10 lines of text to avoid the error??

I'm using Mushclient, does it have a option to paste it with a pause in each line?? maybe this can help

Thanks
Australia Forum Administrator #1
MUSHclient has a "paste to MUD" feature with configurable delays.