|
@@ -16,13 +16,13 @@
|
|
|
|
|
|
#include "tcp.h"
|
|
|
|
|
|
#include "../../safeguards.h"
|
|
|
|
|
|
/** List of connections that are currently being created */
|
|
|
static SmallVector<TCPConnecter *, 1> _tcp_connecters;
|
|
|
static std::vector<TCPConnecter *> _tcp_connecters;
|
|
|
|
|
|
/**
|
|
|
* Create a new connecter for the given address
|
|
|
* @param address the (un)resolved address to connect to
|
|
|
*/
|
|
|
TCPConnecter::TCPConnecter(const NetworkAddress &address) :
|