MySQL 5.6.14 Source Code Document
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Groups Pages
yaSSL::Socket Class Reference

Public Member Functions

 Socket (socket_t s=INVALID_SOCKET)
void set_fd (socket_t s)
uint get_ready () const
socket_t get_fd () const
void set_transport_ptr (void *ptr)
void set_transport_recv_function (yaSSL_recv_func_t recv_func)
void set_transport_send_function (yaSSL_send_func_t send_func)
uint send (const byte *buf, unsigned int len, unsigned int &sent)
uint receive (byte *buf, unsigned int len)
bool wait ()
bool WouldBlock () const
bool IsNonBlocking () const
void closeSocket ()
void shutDown (int how=SD_SEND)

Static Public Member Functions

static int get_lastError ()
static void set_lastError (int error)

Detailed Description

Definition at line 65 of file socket_wrapper.hpp.


The documentation for this class was generated from the following files: