summaryrefslogtreecommitdiff
path: root/ace/SOCK_Stream.h
diff options
context:
space:
mode:
Diffstat (limited to 'ace/SOCK_Stream.h')
-rw-r--r--ace/SOCK_Stream.h26
1 files changed, 3 insertions, 23 deletions
diff --git a/ace/SOCK_Stream.h b/ace/SOCK_Stream.h
index 9537162a4d3..5cf0fadb8e8 100644
--- a/ace/SOCK_Stream.h
+++ b/ace/SOCK_Stream.h
@@ -1,4 +1,4 @@
-// -*- C++ -*-
+/* -*- C++ -*- */
//=============================================================================
/**
@@ -22,8 +22,6 @@
#include "ace/INET_Addr.h"
-ACE_BEGIN_VERSIONED_NAMESPACE_DECL
-
// Forward declarations.
class ACE_Message_Block;
@@ -81,22 +79,8 @@ public:
/// Destructor.
~ACE_SOCK_Stream (void);
- /** @name Counted send/receive methods
- *
- * The counted send/receive methods attempt to send a specified number of
- * bytes even if they must block and retry the operation in order to
- * transfer the entire amount. The time spent blocking for the entire
- * transfer can be limited by a specified ACE_Time_Value object which is
- * a relative time (i.e., a fixed amount of time, not an absolute time
- * of day). These methods return the count of transferred bytes, or -1
- * if an error occurs or the operation times out. In error or timeout
- * situations it's possible that some data was transferred before the error
- * or timeout. The @c bytes_transferred parameter is used to obtain the
- * count of bytes transferred before the error or timeout occurred. If the
- * total specified number of bytes is transferred without error, the
- * method return value should equal the value of @c bytes_transferred.
- */
- //@{
+ // = I/O functions.
+
/// Try to recv exactly @a len bytes into @a buf from the connected socket.
ssize_t recv_n (void *buf,
size_t len,
@@ -142,8 +126,6 @@ public:
const ACE_Time_Value *timeout = 0,
size_t *bytes_transferred = 0) const;
- //@}
-
// = Send/receive ``urgent'' data (see TCP specs...).
ssize_t send_urg (const void *ptr,
size_t len = sizeof (char),
@@ -177,8 +159,6 @@ public:
ACE_ALLOC_HOOK_DECLARE;
};
-ACE_END_VERSIONED_NAMESPACE_DECL
-
#if defined (__ACE_INLINE__)
#include "ace/SOCK_Stream.inl"
#endif /* __ACE_INLINE__ */