Steve,
Since the entire purpose of the "socket:" driver is to connect send/recv with stdio so I can use stdio, I'd rather not do that! Yes, I agree that for any performance (moving lots of data) you'd want to use send/recv directly. But for implementing interative applications, i.e. telnet command handlers, ftp command sessions, etc. the "socket" driver is a great tool and simplifies vast amounts of string handling code when piping text in and out of sockets. Without this you essitially end up writing your own "socket:" driver anyway. Both the MQX telnet and ftp servers make use of the socket: driver for this same purpose.
But I don't think it's an issue with stdio. I can stdio the same type of data to the RS232 console and it's fast! No, there is a problem specifically with the "socket:" device driver, and I'm condifent it has nothing to do with the stdio library, or RTCS per se.
I don't think the latest version of RTCS 4.1 is going to fix it, but I will do as Garabo suggests. This problem is ancient. I've been using MQX for 14 years now. Precise tech support has acknowledge the issue in the past but I could never really get anyone to investigate deeply. Like I've said, I've noticed the problem for years going back to now ancient versions of MQX/RTCS (2.4).
I think now that the issue is demonstratable on stock Kenetis tower hardware, running on very fast CPU's (120MHz+), running the stock rtcs_shell demo MQX should give this another serious look. When I have some time I will troubleshoot this myself, but I think in this case it will take quite a bit of setup to figure out what's really going on.
PMT