Well done and thanks, Daniel!
Just a thought:
I think the 'multiple outgoing packets' is the best one. In my modest
experience
select() calls are very inefficient, adding far more time than the actual
time needed to wait, and using the non blocking approach to avoid these
calls
is a bit of a blunt instrument, especially on a system with a couple of
hundred users.
Any chance the 'multiple outgoing packets' can be extended ad infinitum,
using a queue/stack/list for all packets sent?
_______________________________________________
libssh2-devel http://cool.haxx.se/cgi-bin/mailman/listinfo/libssh2-devel