summaryrefslogtreecommitdiff
path: root/ACE/ace/Ping_Socket.h
diff options
context:
space:
mode:
authorJohnny Willemsen <jwillemsen@remedy.nl>2008-05-20 09:46:39 +0000
committerJohnny Willemsen <jwillemsen@remedy.nl>2008-05-20 09:46:39 +0000
commit9d836f196af7cd496dc6028d283afeec69291e43 (patch)
tree5ca9b0a87e91b7b70890e657a7b45f5e1b6c8a7c /ACE/ace/Ping_Socket.h
parent6a48c09f0fec2b4e100221f9ebd48249201f9c18 (diff)
downloadATCD-9d836f196af7cd496dc6028d283afeec69291e43.tar.gz
Tue May 20 09:45:21 UTC 2008 Johnny Willemsen <jwillemsen@remedy.nl>
Diffstat (limited to 'ACE/ace/Ping_Socket.h')
-rw-r--r--ACE/ace/Ping_Socket.h7
1 files changed, 3 insertions, 4 deletions
diff --git a/ACE/ace/Ping_Socket.h b/ACE/ace/Ping_Socket.h
index c5a28e3d4dc..1826f1600e2 100644
--- a/ACE/ace/Ping_Socket.h
+++ b/ACE/ace/Ping_Socket.h
@@ -62,7 +62,7 @@ public:
/// @a toConnect = 1 - makes connect to remote address
int send_echo_check (ACE_INET_Addr & remote_addr,
- int to_connect = 0);
+ bool to_connect = false);
/// To receive @c ICMP_ECHOREPLY. To be called after successfully
/// sending @c ICMP_ECHO.
@@ -70,7 +70,7 @@ public:
/// @a toConnect = 1 - makes connect to remote address
int make_echo_check (ACE_INET_Addr & remote_addr,
- int to_connect = 0,
+ bool to_connect = false,
ACE_Time_Value const * timeout = &time_default_);
char * icmp_recv_buff (void);
@@ -102,8 +102,7 @@ private:
ACE_UINT16 sequence_number_;
- int connected_socket_;
-
+ bool connected_socket_;
};
ACE_END_VERSIONED_NAMESPACE_DECL