SOCK.inl

Go to the documentation of this file.
00001 // -*- C++ -*-
00002 //
00003 // SOCK.inl,v 4.2 2005/10/28 16:14:55 ossama Exp
00004 
00005 #include "ace/OS_NS_sys_socket.h"
00006 
00007 ACE_BEGIN_VERSIONED_NAMESPACE_DECL
00008 
00009 ACE_INLINE
00010 ACE_SOCK::~ACE_SOCK (void)
00011 {
00012   // ACE_TRACE ("ACE_SOCK::~ACE_SOCK");
00013 }
00014 
00015 ACE_INLINE int
00016 ACE_SOCK::set_option (int level,
00017                       int option,
00018                       void *optval,
00019                       int optlen) const
00020 {
00021   ACE_TRACE ("ACE_SOCK::set_option");
00022   return ACE_OS::setsockopt (this->get_handle (), level,
00023                              option, (char *) optval, optlen);
00024 }
00025 
00026 // Provides access to the ACE_OS::getsockopt system call.
00027 
00028 ACE_INLINE int
00029 ACE_SOCK::get_option (int level,
00030                       int option,
00031                       void *optval,
00032                       int *optlen) const
00033 {
00034   ACE_TRACE ("ACE_SOCK::get_option");
00035   return ACE_OS::getsockopt (this->get_handle (), level,
00036                              option, (char *) optval, optlen);
00037 }
00038 
00039 ACE_END_VERSIONED_NAMESPACE_DECL

Generated on Thu Nov 9 09:42:03 2006 for ACE by doxygen 1.3.6