00001 
00002 
00003 
00004 
00005 #include "ace/OS_NS_sys_socket.h"
00006 
00007 ACE_BEGIN_VERSIONED_NAMESPACE_DECL
00008 
00009 ACE_INLINE void
00010 ACE_SSL_SOCK::set_handle (ACE_HANDLE fd)
00011 {
00012   this->ACE_SOCK::set_handle (fd);
00013 }
00014 
00015 ACE_INLINE ACE_HANDLE
00016 ACE_SSL_SOCK::get_handle (void) const
00017 {
00018   
00019   return this->ACE_SOCK::get_handle ();
00020 }
00021 
00022 
00023 ACE_INLINE int
00024 ACE_SSL_SOCK::control (int cmd, void *arg) const
00025 {
00026   return ACE_OS::ioctl (this->get_handle (), cmd, arg);
00027 }
00028 
00029 ACE_INLINE int
00030 ACE_SSL_SOCK::set_option (int level,
00031                      int option,
00032                      void *optval,
00033                      int optlen) const
00034 {
00035 
00036 
00037 
00038 
00039 
00040 
00041 
00042       return ACE_OS::setsockopt (this->get_handle (),
00043                                  level,
00044                                  option, (char *) optval,
00045                                  optlen);
00046 
00047 }
00048 
00049 
00050 
00051 ACE_INLINE int
00052 ACE_SSL_SOCK::get_option (int level,
00053                      int option,
00054                      void *optval,
00055                      int *optlen) const
00056 {
00057 
00058 
00059 
00060 
00061 
00062 
00063 
00064       return ACE_OS::getsockopt (this->get_handle (),
00065                                  level,
00066                                  option, (char *) optval,
00067                                  optlen);
00068 
00069 }
00070 
00071 ACE_END_VERSIONED_NAMESPACE_DECL