aboutsummaryrefslogtreecommitdiff
path: root/src/irc.cpp
diff options
context:
space:
mode:
authorPieter Wuille <[email protected]>2011-06-06 20:35:01 +0200
committerPieter Wuille <[email protected]>2011-06-12 00:29:05 +0200
commit76d660ebd336d3dd47dd555ebbaa721a4cc978b2 (patch)
treece40033b63b17ee2527795781885a76310d5fe0d /src/irc.cpp
parentMerge pull request #312 from codler/patch-1 (diff)
downloaddiscoin-76d660ebd336d3dd47dd555ebbaa721a4cc978b2.tar.xz
discoin-76d660ebd336d3dd47dd555ebbaa721a4cc978b2.zip
Faster timeout when connecting
Use non-blocking connects, and a select() call to wait a predefined time (5s by default, but configurable with -timeout) for either success or failure. This allows much more connections to be tried per time unit. Based on a patch by phantomcircuit.
Diffstat (limited to 'src/irc.cpp')
0 files changed, 0 insertions, 0 deletions