Definition at line 82 of file Socket.cpp.
◆ TCPBaseSocket()
mars::utils::TCPBaseSocket::TCPBaseSocket |
( |
| ) |
|
◆ ~TCPBaseSocket()
mars::utils::TCPBaseSocket::~TCPBaseSocket |
( |
| ) |
|
◆ accept()
◆ bind()
SocketError mars::utils::TCPBaseSocket::bind |
( |
const std::string & |
addr, |
|
|
unsigned short |
port |
|
) |
| |
◆ close()
void mars::utils::TCPBaseSocket::close |
( |
| ) |
|
◆ connect() [1/2]
SocketError mars::utils::TCPBaseSocket::connect |
( |
const std::string & |
host, |
|
|
unsigned short |
port |
|
) |
| |
◆ connect() [2/2]
◆ getSocketFamily()
int mars::utils::TCPBaseSocket::getSocketFamily |
( |
| ) |
const |
◆ getSocketProtocol()
int mars::utils::TCPBaseSocket::getSocketProtocol |
( |
| ) |
const |
◆ getSocketType()
int mars::utils::TCPBaseSocket::getSocketType |
( |
| ) |
const |
◆ getTimeout()
double mars::utils::TCPBaseSocket::getTimeout |
( |
| ) |
const |
◆ init()
◆ internal_select()
int mars::utils::TCPBaseSocket::internal_select |
( |
bool |
writing, |
|
|
double |
timeout |
|
) |
| |
|
private |
◆ isConnected()
bool mars::utils::TCPBaseSocket::isConnected |
( |
| ) |
const |
◆ listen()
SocketError mars::utils::TCPBaseSocket::listen |
( |
int |
queueSize | ) |
|
◆ recv()
size_t mars::utils::TCPBaseSocket::recv |
( |
char * |
data, |
|
|
size_t |
maxLen |
|
) |
| |
◆ send()
size_t mars::utils::TCPBaseSocket::send |
( |
const char * |
data, |
|
|
size_t |
len |
|
) |
| const |
◆ setFlags()
void mars::utils::TCPBaseSocket::setFlags |
( |
unsigned int |
flags | ) |
|
◆ setTimeout()
void mars::utils::TCPBaseSocket::setTimeout |
( |
double |
timeout | ) |
|
◆ flags
unsigned int mars::utils::TCPBaseSocket::flags |
|
private |
◆ sock_fd
int mars::utils::TCPBaseSocket::sock_fd |
|
private |
◆ sock_timeout
double mars::utils::TCPBaseSocket::sock_timeout |
|
private |
The documentation for this class was generated from the following file:
- /Developer/bob-learning-dev/simulation/mars/common/utils/src/Socket.cpp