Main Page   Class Hierarchy   Alphabetical List   Compound List   File List   Compound Members   File Members   Related Pages  

SOCK_Stream.cpp

Go to the documentation of this file.
00001 #include "ace_pch.h"
00002 // SOCK_Stream.cpp
00003 // $Id: SOCK_Stream.cpp,v 1.1.1.3.40.1 2003/03/13 19:44:22 chad Exp $
00004 
00005 #include "ace/SOCK_Stream.h"
00006 
00007 #if defined (ACE_LACKS_INLINE_FUNCTIONS)
00008 #include "ace/SOCK_Stream.i"
00009 #endif
00010 
00011 ACE_RCSID(ace, SOCK_Stream, "$Id: SOCK_Stream.cpp,v 1.1.1.3.40.1 2003/03/13 19:44:22 chad Exp $")
00012 
00013 ACE_ALLOC_HOOK_DEFINE(ACE_SOCK_Stream)
00014 
00015 void
00016 ACE_SOCK_Stream::dump (void) const
00017 {
00018   ACE_TRACE ("ACE_SOCK_Stream::dump");
00019 }
00020 
00021 int
00022 ACE_SOCK_Stream::close (void)
00023 {
00024 #if defined (ACE_WIN32)
00025   // We need the following call to make things work correctly on
00026   // Win32, which requires use to do a <close_writer> before doing the
00027   // close in order to avoid losing data.  Note that we don't need to
00028   // do this on UNIX since it doesn't have this "feature".  Moreover,
00029   // this will cause subtle problems on UNIX due to the way that
00030   // fork() works.
00031   this->close_writer ();
00032 #endif /* ACE_WIN32 */
00033   // Close down the socket.
00034   return ACE_SOCK::close ();
00035 }
00036 

Generated on Mon Jun 16 11:21:21 2003 for ACE by doxygen1.2.14 written by Dimitri van Heesch, © 1997-2002