diff options
Diffstat (limited to 'cpp/src/Ice/Network.cpp')
-rw-r--r-- | cpp/src/Ice/Network.cpp | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/cpp/src/Ice/Network.cpp b/cpp/src/Ice/Network.cpp index 1c74ec036ad..34d88b86045 100644 --- a/cpp/src/Ice/Network.cpp +++ b/cpp/src/Ice/Network.cpp @@ -478,7 +478,7 @@ IceInternal::getAddress(const char* host, int port, struct sockaddr_in& addr) JTCSyncT<JTCMutex> sync(getHostByNameMutex); struct hostent* entry; - int retry = 5; // TODO: Should be configurable + int retry = 5; do { @@ -512,7 +512,7 @@ IceInternal::getLocalAddress(int port, struct sockaddr_in& addr) JTCSyncT<JTCMutex> sync(getHostByNameMutex); struct hostent* entry; - int retry = 5; // TODO: Should be configurable + int retry = 5; do { @@ -542,7 +542,7 @@ IceInternal::getLocalHost(bool numeric) JTCSyncT<JTCMutex> sync(getHostByNameMutex); struct hostent* entry; - int retry = 5; // TODO: Should be configurable + int retry = 5; do entry = gethostbyname(host); |