00001 #include "ace_pch.h"
00002
00003
00004
00005 #include "ace/MEM_Stream.h"
00006
00007 #if (ACE_HAS_POSITION_INDEPENDENT_POINTERS == 1)
00008 #if defined (ACE_LACKS_INLINE_FUNCTIONS)
00009 #include "ace/MEM_Stream.i"
00010 #endif
00011
00012 ACE_RCSID(ace, MEM_Stream, "$Id: MEM_Stream.cpp,v 1.1.1.3.40.1 2003/03/13 19:44:21 chad Exp $")
00013
00014 ACE_ALLOC_HOOK_DEFINE(ACE_MEM_Stream)
00015
00016 void
00017 ACE_MEM_Stream::dump (void) const
00018 {
00019 ACE_TRACE ("ACE_MEM_Stream::dump");
00020 }
00021
00022 int
00023 ACE_MEM_Stream::close (void)
00024 {
00025 this->send ((char *)0, 0);
00026
00027 this->fini ();
00028
00029 #if defined (ACE_WIN32)
00030
00031
00032
00033
00034
00035
00036 this->close_writer ();
00037 #endif
00038
00039 return ACE_SOCK::close ();
00040 }
00041
00042 #endif