I had a similar problem with slow networks (high latency), and solved it raising (at least before connecting) the timeout in irc_run from libircclient.c (lines 430/431 in version 1.8).
from 0.25 seconds:
tv.tv_usec = 250000;
tv.tv_sec = 0;
to 1 or 2 seconds:
tv.tv_usec = 0;
tv.tv_sec = 2;
If you would like to refer to this comment somewhere else in this project, copy and paste the following link:
Solution i found to the slow networks
I had a similar problem with slow networks (high latency), and solved it raising (at least before connecting) the timeout in irc_run from libircclient.c (lines 430/431 in version 1.8).
from 0.25 seconds:
to 1 or 2 seconds: