00001
00002
00003
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
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
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