Inheritance diagram for net::CEventSocket:
CEventSocket is the base class for the CEvent* socket classes. CEventSocket can be used to poll for data on the connection, and when data arrives will call the OnRead() member function.
Public Member Functions | |
bool | Poll () |
int | Write (std::string data) |
int | Write (char *data) |
bool net::CEventSocket::Poll | ( | ) |
Polls for waiting data to receive.
int net::CEventSocket::Write | ( | std::string | data | ) |
Writes character data to the socket.
data | The character (std::string) to be written to the socket. |
Reimplemented from net::CSocket.
int net::CEventSocket::Write | ( | char * | data | ) |
Writes character data to the socket.
data | The character (char) array to be written to the socket. |
Reimplemented from net::CSocket.