summaryrefslogtreecommitdiff
path: root/ace/SOCK_Stream.cpp
blob: eac7daf021d53acd8a7aa28a282ec198d63fb134 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
// SOCK_Stream.cpp
// $Id$

#define ACE_BUILD_DLL
#include "ace/SOCK_Stream.h"

ACE_ALLOC_HOOK_DEFINE(ACE_SOCK_Stream)

void
ACE_SOCK_Stream::dump (void) const
{
  ACE_TRACE ("ACE_SOCK_Stream::dump");
}

int
ACE_SOCK_Stream::close (void)
{
  // We need the following call to make things work correctly on
  // Win32, which requires use to do a <close_writer> before doing the
  // close in order to avoid losing data.
  this->close_writer ();
  // Close down the socket.
  return ACE_SOCK::close ();
}