#include <tcp_socket.h>
|
| virtual bool | open (int socket_fd, struct sockaddr *address, size_t address_len) |
| |
| virtual void | setOptions (int socket_fd) |
| |
| bool | setup (std::string &host, int port) |
| |
Definition at line 35 of file tcp_socket.h.
| TCPSocket::~TCPSocket |
( |
| ) |
|
|
virtual |
| void TCPSocket::close |
( |
| ) |
|
| std::string TCPSocket::getIP |
( |
| ) |
|
| int TCPSocket::getSocketFD |
( |
| ) |
|
|
inline |
| virtual bool TCPSocket::open |
( |
int |
socket_fd, |
|
|
struct sockaddr * |
address, |
|
|
size_t |
address_len |
|
) |
| |
|
inlineprotectedvirtual |
| bool TCPSocket::read |
( |
char * |
character | ) |
|
| bool TCPSocket::read |
( |
uint8_t * |
buf, |
|
|
size_t |
buf_len, |
|
|
size_t & |
read |
|
) |
| |
| void TCPSocket::setOptions |
( |
int |
socket_fd | ) |
|
|
protectedvirtual |
| bool TCPSocket::setSocketFD |
( |
int |
socket_fd | ) |
|
| bool TCPSocket::setup |
( |
std::string & |
host, |
|
|
int |
port |
|
) |
| |
|
protected |
| bool TCPSocket::write |
( |
const uint8_t * |
buf, |
|
|
size_t |
buf_len, |
|
|
size_t & |
written |
|
) |
| |
| std::atomic<int> TCPSocket::socket_fd_ |
|
private |
The documentation for this class was generated from the following files: