Menu

#14 slow networks

open
nobody
None
5
2014-06-05
2010-05-01
Axel Bayerl
No

I have a problem in slow networks, irc_run returns with 1, and the examples fail.

The only solution i found is to comment the lines 766/767 of libirclient.c , but i dont know if its correct to do so.

Discussion

  • Axel Bayerl

    Axel Bayerl - 2010-05-01

    Solution i found to the slow networks

     
  • Rodrigo V G

    Rodrigo V G - 2014-06-05

    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;
    
     

Log in to post a comment.

MongoDB Logo MongoDB