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

Public Member Functions

 SocketClient (const char *server_name, unsigned short port, SocketAuthenticator *sa=0)
bool init ()
void set_port (unsigned short port)
void set_connect_timeout (unsigned int timeout_millisec)
unsigned short get_port ()
char * get_server_name ()
int bind (const char *toaddress, unsigned short toport)
NDB_SOCKET_TYPE connect (const char *toaddress=0, unsigned short port=0)
bool close ()

Public Attributes

NDB_SOCKET_TYPE m_sockfd

Detailed Description

Definition at line 24 of file SocketClient.hpp.


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