diff options
author | schmidt <douglascraigschmidt@users.noreply.github.com> | 2002-06-30 20:40:15 +0000 |
---|---|---|
committer | schmidt <douglascraigschmidt@users.noreply.github.com> | 2002-06-30 20:40:15 +0000 |
commit | 3c67ba1a70fd0659ed2501743919b24403816b43 (patch) | |
tree | 7dc422032b39d61afffd38924a22f293102deb7e /tests | |
parent | d1091cf465f28ee1b9edaf2cfd9454d66cbe6754 (diff) | |
download | ATCD-3c67ba1a70fd0659ed2501743919b24403816b43.tar.gz |
ChangeLogTag:Sun Jun 30 15:32:47 2002 Douglas C. Schmidt <schmidt@ace.cs.wustl.edu>
Diffstat (limited to 'tests')
-rw-r--r-- | tests/Enum_Interfaces_Test.cpp | 15 |
1 files changed, 8 insertions, 7 deletions
diff --git a/tests/Enum_Interfaces_Test.cpp b/tests/Enum_Interfaces_Test.cpp index 4be7b992129..8f569436b04 100644 --- a/tests/Enum_Interfaces_Test.cpp +++ b/tests/Enum_Interfaces_Test.cpp @@ -10,10 +10,11 @@ // Enum_interfaces.cpp // // = DESCRIPTION -// This is a simple test of <ACE::get_ip_interfaces>. This call -// retrieves the IP addresses assigned to the host by -// interrogating the kernel. Network applications typically -// assume gethostbyname(uname()) will work, but this is just a +// This is a simple test of +// <ACE_Sock_Connection::get_ip_interfaces>. This call retrieves +// the IP addresses assigned to the host by interrogating the +// kernel. Network applications typically assume +// gethostbyname(uname()) will work, but this is just a // convention. It is also problematic if the resolver code // (DNS/NIS+...) is misconfigured. This happens more than // programmers realize. It is better to find out by asking the @@ -48,12 +49,12 @@ ACE_TMAIN (int, ACE_TCHAR *[]) ACE_INET_Addr *the_addr_array; size_t how_many = 0; - int rc = ACE::get_ip_interfaces (how_many, the_addr_array); + int rc = ACE_Sock_Connect::get_ip_interfaces (how_many, the_addr_array); if (rc != 0) ACE_ERROR ((LM_ERROR, ACE_TEXT ("%p\n"), - ACE_TEXT ("ACE::get_ip_interfaces failed"))); + ACE_TEXT ("ACE_Sock_Connect::get_ip_interfaces failed"))); else if (how_many == 0) ACE_ERROR ((LM_ERROR, ACE_TEXT ("No interfaces presently configured in the kernel\n"))); @@ -68,6 +69,6 @@ ACE_TMAIN (int, ACE_TCHAR *[]) } ACE_END_TEST; - return rc != 0; // return 1 if get_ip_interfaces failed + return rc != 0; // return 1 if get_ip_interfaces() failed } |