summaryrefslogtreecommitdiff
path: root/ACE/protocols/tests/HTBP/ping/server.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'ACE/protocols/tests/HTBP/ping/server.cpp')
-rw-r--r--ACE/protocols/tests/HTBP/ping/server.cpp6
1 files changed, 4 insertions, 2 deletions
diff --git a/ACE/protocols/tests/HTBP/ping/server.cpp b/ACE/protocols/tests/HTBP/ping/server.cpp
index 7bde988c3cf..7f28c6c342f 100644
--- a/ACE/protocols/tests/HTBP/ping/server.cpp
+++ b/ACE/protocols/tests/HTBP/ping/server.cpp
@@ -14,6 +14,8 @@
#include "ace/SOCK_Stream.h"
#include "ace/Get_Opt.h"
#include "ace/OS_NS_stdio.h"
+#include "ace/OS_NS_sys_socket.h"
+#include "ace/os_include/os_netdb.h"
unsigned port = 8088;
const ACE_TCHAR *notifier_file = 0;
@@ -41,7 +43,7 @@ parse_args (int argc, ACE_TCHAR *argv[])
argv [0]),
-1);
}
- // Indicates sucessful parsing of the command line
+ // Indicates successful parsing of the command line
return 0;
}
@@ -115,7 +117,7 @@ ACE_TMAIN (int argc , ACE_TCHAR *argv[])
ACE_DEBUG ((LM_DEBUG,
ACE_TEXT ("(%P|%t) Server: ")
- ACE_TEXT ("using streams %d, %d. Got sesssion = %@\n"),
+ ACE_TEXT ("using streams %d, %d. Got session = %@\n"),
sock[0].get_handle(),
sock[1].get_handle(),
session));