2 #include "ace/OS_NS_sys_socket.h"
4 ACE_BEGIN_VERSIONED_NAMESPACE_DECL
7 ACE_SSL_SOCK::set_handle (ACE_HANDLE fd)
9 this->ACE_SOCK::set_handle (fd);
13 ACE_SSL_SOCK::get_handle () const
15 // return this->ssl_ ? (ACE_HANDLE) ::SSL_get_fd (this->ssl_) : ACE_INVALID_HANDLE;
16 return this->ACE_SOCK::get_handle ();
21 ACE_SSL_SOCK::control (int cmd, void *arg) const
23 return ACE_OS::ioctl (this->get_handle (), cmd, arg);
27 ACE_SSL_SOCK::set_option (int level,
35 // return ::BIO_set_write_buffer_size (this->io_bio_, *((int *) optval));
37 // return ::BIO_set_read_buffer_size (this->io_bio_, *((int *) optval));
39 return ACE_OS::setsockopt (this->get_handle (),
41 option, (char *) optval,
46 // Provides access to the ACE_OS::getsockopt system call.
49 ACE_SSL_SOCK::get_option (int level,
57 // return ::BIO_get_write_buffer_size (this->io_bio_, *((int *) optval));
59 // return ::BIO_get_read_buffer_size (this->io_bio_, *((int *) optval));
61 return ACE_OS::getsockopt (this->get_handle (),
63 option, (char *) optval,
68 ACE_END_VERSIONED_NAMESPACE_DECL